com.xebialabs.deployit.plugin.cloud.step
Class UnregisterInstanceStep

java.lang.Object
  extended by com.xebialabs.deployit.plugin.cloud.step.UnregisterInstanceStep
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.flow.Step, java.io.Serializable

public class UnregisterInstanceStep
extends java.lang.Object
implements com.xebialabs.deployit.plugin.api.flow.Step

Deletes instance from environment. Should be used if instance is to be destroyed, but environment remains.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.flow.Step
DEFAULT_ORDER
 
Constructor Summary
UnregisterInstanceStep(java.lang.String instanceId)
           
UnregisterInstanceStep(java.lang.String instanceId, java.lang.String environmentId)
           
 
Method Summary
 com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
           
 java.lang.String getDescription()
           
 int getOrder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnregisterInstanceStep

public UnregisterInstanceStep(java.lang.String instanceId)

UnregisterInstanceStep

public UnregisterInstanceStep(java.lang.String instanceId,
                              java.lang.String environmentId)
Method Detail

getOrder

public int getOrder()
Specified by:
getOrder in interface com.xebialabs.deployit.plugin.api.flow.Step

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface com.xebialabs.deployit.plugin.api.flow.Step

execute

public com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
                                                            throws java.lang.Exception
Specified by:
execute in interface com.xebialabs.deployit.plugin.api.flow.Step
Throws:
java.lang.Exception