public class RegisterInstancesStep
extends java.lang.Object
implements com.xebialabs.deployit.plugin.api.flow.Step
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.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HOSTS_MAP_CTX_ATTRIBUTE
Context attribute key which corresponds to the collection of cloud hosts stored in repository
|
| Constructor and Description |
|---|
RegisterInstancesStep(InstanceDescriptorResolver descriptorResolver,
CiParser ciParser,
java.lang.String hostsPath) |
| Modifier and Type | Method and Description |
|---|---|
com.xebialabs.deployit.plugin.api.flow.StepExitCode |
execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx) |
java.lang.String |
getDescription() |
int |
getOrder() |
public static final java.lang.String HOSTS_MAP_CTX_ATTRIBUTE
public RegisterInstancesStep(InstanceDescriptorResolver descriptorResolver, CiParser ciParser, java.lang.String hostsPath)
public int getOrder()
getOrder in interface com.xebialabs.deployit.plugin.api.flow.Steppublic java.lang.String getDescription()
getDescription in interface com.xebialabs.deployit.plugin.api.flow.Steppublic com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
throws java.lang.Exception
execute in interface com.xebialabs.deployit.plugin.api.flow.Stepjava.lang.Exception