Class: Chef::ResourceReporter::ResourceReport

Inherits:
Struct
  • Object
show all
Defined in:
lib/chef/resource_reporter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action


29
30
31
# File 'lib/chef/resource_reporter.rb', line 29

def action
  @action
end

#current_resourceObject

Returns the value of attribute current_resource

Returns:

  • (Object)

    the current value of current_resource


29
30
31
# File 'lib/chef/resource_reporter.rb', line 29

def current_resource
  @current_resource
end

#elapsed_timeObject

Returns the value of attribute elapsed_time

Returns:

  • (Object)

    the current value of elapsed_time


29
30
31
# File 'lib/chef/resource_reporter.rb', line 29

def elapsed_time
  @elapsed_time
end

#exceptionObject

Returns the value of attribute exception

Returns:

  • (Object)

    the current value of exception


29
30
31
# File 'lib/chef/resource_reporter.rb', line 29

def exception
  @exception
end

#new_resourceObject

Returns the value of attribute new_resource

Returns:

  • (Object)

    the current value of new_resource


29
30
31
# File 'lib/chef/resource_reporter.rb', line 29

def new_resource
  @new_resource
end