Class: VCloudCloud::Step
- Inherits:
-
Object
- Object
- VCloudCloud::Step
- Defined in:
- lib/cloud/vcloud/steps.rb
Overview
Abstract Step
Direct Known Subclasses
VCloudCloud::Steps::AddCatalog, VCloudCloud::Steps::AddCatalogItem, VCloudCloud::Steps::AddNetworks, VCloudCloud::Steps::AttachDetachDisk, VCloudCloud::Steps::CreateDisk, VCloudCloud::Steps::CreateMedia, VCloudCloud::Steps::CreateOrUpdateAgentEnv, VCloudCloud::Steps::CreateTemplate, VCloudCloud::Steps::Delete, VCloudCloud::Steps::DeleteCatalogMedia, VCloudCloud::Steps::DeleteUnusedNetworks, VCloudCloud::Steps::DiscardSuspendedState, VCloudCloud::Steps::EjectCatalogMedia, VCloudCloud::Steps::InsertCatalogMedia, VCloudCloud::Steps::Instantiate, VCloudCloud::Steps::LoadAgentEnv, VCloudCloud::Steps::PowerOff, VCloudCloud::Steps::PowerOn, VCloudCloud::Steps::Reboot, VCloudCloud::Steps::Recompose, VCloudCloud::Steps::ReconfigureVM, VCloudCloud::Steps::SaveAgentEnv, VCloudCloud::Steps::StemcellInfo, VCloudCloud::Steps::Undeploy, VCloudCloud::Steps::UploadMediaFiles, VCloudCloud::Steps::UploadTemplateFiles
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
- #cleanup ⇒ Object
-
#initialize(state, client) ⇒ Step
constructor
A new instance of Step.
- #rollback ⇒ Object
Constructor Details
#initialize(state, client) ⇒ Step
Returns a new instance of Step.
8 9 10 11 12 |
# File 'lib/cloud/vcloud/steps.rb', line 8 def initialize(state, client) @client = client @logger = client.logger @state = state end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/cloud/vcloud/steps.rb', line 6 def client @client end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
6 7 8 |
# File 'lib/cloud/vcloud/steps.rb', line 6 def state @state end |
Instance Method Details
#cleanup ⇒ Object
17 18 |
# File 'lib/cloud/vcloud/steps.rb', line 17 def cleanup end |
#rollback ⇒ Object
14 15 |
# File 'lib/cloud/vcloud/steps.rb', line 14 def rollback end |