Class: Isono::ResourceManifest::StateItem

Inherits:
Object
  • Object
show all
Defined in:
lib/isono/resource_manifest.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStateItem

Returns a new instance of StateItem.



165
166
167
168
169
# File 'lib/isono/resource_manifest.rb', line 165

def initialize()
  @task = nil
  @on_event = {}
  @on_command = {}
end

Instance Attribute Details

#on_commandObject (readonly)

Returns the value of attribute on_command.



163
164
165
# File 'lib/isono/resource_manifest.rb', line 163

def on_command
  @on_command
end

#on_eventObject (readonly)

Returns the value of attribute on_event.



163
164
165
# File 'lib/isono/resource_manifest.rb', line 163

def on_event
  @on_event
end

#taskObject

Returns the value of attribute task.



162
163
164
# File 'lib/isono/resource_manifest.rb', line 162

def task
  @task
end