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
ConfigurationItem s 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.util.List<Deployment> |
getRequiredDeployments() |
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) |
void |
setRequiredDeployments(java.util.List<Deployment> requiredDeployments) |
toString
public 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()
ConfigurationItem
s 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 ConfigurationItem
s 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)
ConfigurationItem
s to the list of deployeds of this deployment.public java.lang.String getVersion()
public java.lang.String getEnvironment()
public java.util.List<ConfigurationItemId> getDeployables()
ConfigurationItemId
s) representing the deployables of this deployment.public void setDeployables(java.util.List<ConfigurationItemId> deployables)
deployables
- A list of CI references (ConfigurationItemId
s) representing the deployables of this deployment.public java.util.List<ConfigurationItemId> getContainers()
ConfigurationItemId
s) representing the containers of this deployment.public void setContainers(java.util.List<ConfigurationItemId> containers)
containers
- A list of CI references (ConfigurationItemId
s) representing the containers of this deployment.public java.util.List<Deployment> getRequiredDeployments()
Deployment
s) representing the dependent deployments.public void setRequiredDeployments(java.util.List<Deployment> requiredDeployments)
requiredDeployments
- A list of Deployments (Deployment
s) representing the dependent deployments.