public interface InstantiatableCloudTemplate
extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends com.xebialabs.deployit.plugin.api.flow.Step> |
produceCreateSteps(java.lang.String name,
int instanceSeq)
Produce Steps to instantiate this template in the cloud.
|
java.util.List<? extends com.xebialabs.deployit.plugin.api.flow.Step> |
produceDestroySteps(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem instance)
Produce Steps to destroy the given ConfigurationItem in the cloud.
|
java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
produceInstanceCIs(java.lang.String cloudId,
com.xebialabs.deployit.plugin.api.services.Repository repository,
java.lang.String repositoryPath)
Produce ConfigurationItems that belong to the given instance.
|
java.util.List<? extends com.xebialabs.deployit.plugin.api.flow.Step> |
produceValidationSteps()
Produce Steps to validate this template, typically verifying its XML descriptor (if present).
|
void |
waitForAvailability(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx,
java.lang.String cloudId)
Waits until the instance is available, i.e.
|
java.util.List<? extends com.xebialabs.deployit.plugin.api.flow.Step> produceCreateSteps(java.lang.String name,
int instanceSeq)
name - base name for the instanceinstanceSeq - sequence number of this instance within the cloud Environmentjava.util.List<? extends com.xebialabs.deployit.plugin.api.flow.Step> produceDestroySteps(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem instance)
instance - the ConfigurationItem to destroyjava.util.List<? extends com.xebialabs.deployit.plugin.api.flow.Step> produceValidationSteps()
java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> produceInstanceCIs(java.lang.String cloudId,
com.xebialabs.deployit.plugin.api.services.Repository repository,
java.lang.String repositoryPath)
throws java.util.concurrent.TimeoutException
cloudId - identifier of instance for which to return its CIsrepository - the CI repositoryrepositoryPath - java.util.concurrent.TimeoutException - if retrieval of necessary data for instance CIs takes too longvoid waitForAvailability(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx,
java.lang.String cloudId)
throws java.util.concurrent.TimeoutException
cxt - the excution contextcloudId - the id of the instancejava.util.concurrent.TimeoutException