com.xebialabs.deployit.plugin.ec2.steps
Class CreateInstanceStep

java.lang.Object
  extended by com.xebialabs.deployit.plugin.ec2.steps.CreateInstanceStep
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.flow.Step, java.io.Serializable

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

Step which actually starts node on EC2.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.flow.Step
DEFAULT_ORDER
 
Constructor Summary
CreateInstanceStep(HostTemplate template, EC2Adapter ec2Adapter, java.lang.String instanceName)
           
 
Method Summary
 com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext context)
           
 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

CreateInstanceStep

public CreateInstanceStep(HostTemplate template,
                          EC2Adapter ec2Adapter,
                          java.lang.String instanceName)
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 context)
                                                            throws java.lang.Exception
Specified by:
execute in interface com.xebialabs.deployit.plugin.api.flow.Step
Throws:
java.lang.Exception