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

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

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

Step which registers node in repository.

See Also:
Serialized Form

Field Summary
static java.lang.String HOSTS_MAP_CTX_ATTRIBUTE
          Context attribute key which corresponds to the collection of cloud hosts stored in repository
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.flow.Step
DEFAULT_ORDER
 
Constructor Summary
RegisterInstancesStep(InstanceDescriptorResolver descriptorResolver, CiParser ciParser, java.lang.String hostsPath)
           
 
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
 

Field Detail

HOSTS_MAP_CTX_ATTRIBUTE

public static final java.lang.String HOSTS_MAP_CTX_ATTRIBUTE
Context attribute key which corresponds to the collection of cloud hosts stored in repository

See Also:
Constant Field Values
Constructor Detail

RegisterInstancesStep

public RegisterInstancesStep(InstanceDescriptorResolver descriptorResolver,
                             CiParser ciParser,
                             java.lang.String hostsPath)
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