public class Deployment extends AbstractDto
| Modifier and Type | Class and Description |
|---|---|
static class |
Deployment.DeploymentType
The type of deployment: INITIAL, UPDATE or UNDEPLOYMENT.
|
| Constructor and Description |
|---|
Deployment() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem object)
Adds a
ConfigurationItem to the list of deployeds of this deployment. |
void |
addAll(java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> deployeds)
Adds a list of
ConfigurationItems to the list of deployeds of this deployment. |
java.util.List<ConfigurationItemId> |
getContainers() |
java.util.List<ConfigurationItemId> |
getDeployables() |
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
getDeployedApplication() |
java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
getDeployeds() |
Deployment.DeploymentType |
getDeploymentType() |
java.lang.String |
getEnvironment() |
java.lang.String |
getId() |
java.lang.String |
getVersion() |
boolean |
isOfType(Deployment.DeploymentType type) |
void |
setContainers(java.util.List<ConfigurationItemId> containers) |
void |
setDeployables(java.util.List<ConfigurationItemId> deployables) |
void |
setDeployedApplication(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem deployedApplication) |
void |
setDeployeds(java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> deployeds) |
void |
setDeploymentType(Deployment.DeploymentType deploymentType) |
void |
setId(java.lang.String id) |
toStringpublic java.lang.String getId()
public void setId(java.lang.String id)
id - The id of the deployment action.public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem getDeployedApplication()
public java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> getDeployeds()
ConfigurationItems representing the deployeds of this deployment.public Deployment.DeploymentType getDeploymentType()
Deployment.DeploymentType of the current deployment.public void setDeploymentType(Deployment.DeploymentType deploymentType)
deploymentType - The Deployment.DeploymentType of the current deployment.public boolean isOfType(Deployment.DeploymentType type)
type - The Deployment.DeploymentType to check against.Deployment.DeploymentType.public void setDeployedApplication(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem deployedApplication)
deployedApplication - The application being deployed, upgraded or undeployed.public void setDeployeds(java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> deployeds)
deployeds - A list of ConfigurationItems representing the deployeds of this deployment.public void add(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem object)
ConfigurationItem to the list of deployeds of this deployment.public void addAll(java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> deployeds)
ConfigurationItems to the list of deployeds of this deployment.public java.lang.String getVersion()
public java.lang.String getEnvironment()
public java.util.List<ConfigurationItemId> getDeployables()
ConfigurationItemIds) representing the deployables of this deployment.public void setDeployables(java.util.List<ConfigurationItemId> deployables)
deployables - A list of CI references (ConfigurationItemIds) representing the deployables of this deployment.public java.util.List<ConfigurationItemId> getContainers()
ConfigurationItemIds) representing the containers of this deployment.public void setContainers(java.util.List<ConfigurationItemId> containers)
containers - A list of CI references (ConfigurationItemIds) representing the containers of this deployment.