com.xebialabs.deployit.plugin.cloud.step
Class RegisterInstancesStep
java.lang.Object
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
Registers created hosts in repository.
This step depends on context attributes ContextAttribute.CREATED_INSTANCES and ContextAttribute.USED_TEMPLATES, which
should contain created instances and used templates in the proper order.
This step always should be executed after some step, which actually triggers instantiation on cloud platform and writes
appropriate objects to the context.
- 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 |
|
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 |
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
RegisterInstancesStep
public RegisterInstancesStep(InstanceDescriptorResolver descriptorResolver,
CiParser ciParser,
java.lang.String hostsPath)
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