com.xebialabs.deployit.plugin.cloud.ci
Class EnvironmentTemplate
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.deployit.plugin.cloud.ci.EnvironmentTemplate
- All Implemented Interfaces:
- com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>
@Metadata(description="Cloud environment template",
root=CONFIGURATION)
public class EnvironmentTemplate- extends com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
- See Also:
- Serialized Form
| Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem |
id, syntheticProperties, type |
| Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD |
| Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem |
compareTo, equals, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$token, setId, setProperty, setSyntheticProperties, setType, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EnvironmentTemplate
public EnvironmentTemplate()
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
setHostTemplates
public void setHostTemplates(java.util.List<BaseHostTemplate> hostTemplates)
setXmlDescriptor
public void setXmlDescriptor(java.lang.String xmlDescriptor)
getHostTemplates
public java.util.List<BaseHostTemplate> getHostTemplates()
getXmlDescriptor
public java.lang.String getXmlDescriptor()
instantiate
@ControlTask(label="Instantiate environment",
parameterType="cloud.CloudEnvironmentParameters",
description="Instantiate environment and all hosts, which templates are linked to this environment template")
public java.util.List<? extends com.xebialabs.deployit.plugin.api.flow.Step> instantiate(CloudEnvironmentParameters parameters)
validateEnvironmentDescriptor
@ControlTask(label="Validate descriptor",
description="Validate XML descriptor of the environment template")
public java.util.List<? extends com.xebialabs.deployit.plugin.api.flow.Step> validateEnvironmentDescriptor()