Class Deployment
java.lang.Object
com.xebialabs.deployit.engine.api.dto.AbstractDto
com.xebialabs.deployit.engine.api.dto.Deployment
The parameter object of a deployment action.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of deployment: INITIAL, UPDATE or UNDEPLOYMENT. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem object) Adds aConfigurationItemto the list of deployeds of this deployment.voidAdds a list ofConfigurationItems to the list of deployeds of this deployment.voidaddResolvedPlaceholders(Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders) com.xebialabs.deployit.plugin.api.udm.ConfigurationItemList<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>intgetId()Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder>booleanvoidsetContainers(List<ConfigurationItemId> containers) voidsetDeployables(List<ConfigurationItemId> deployables) voidsetDeployedApplication(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem deployedApplication) voidsetDeployeds(List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> deployeds) voidsetDeploymentGroupIndex(int deploymentGroupIndex) voidsetDeploymentType(Deployment.DeploymentType deploymentType) voidsetGroupedRequiredDeployments(List<List<Deployment>> dependencies) voidvoidsetRequiredDeployments(List<Deployment> requiredDeployments) voidsetResolvedPlaceholders(Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders) Methods inherited from class com.xebialabs.deployit.engine.api.dto.AbstractDto
toString
-
Constructor Details
-
Deployment
public Deployment()
-
-
Method Details
-
getId
- Returns:
- The id of the deployment action.
-
setId
- Parameters:
id- The id of the deployment action.
-
getDeployedApplication
public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem getDeployedApplication()- Returns:
- The application being deployed, upgraded or undeployed.
-
getDeployeds
- Returns:
- A list of
ConfigurationItems representing the deployeds of this deployment.
-
getDeploymentType
- Returns:
- The
Deployment.DeploymentTypeof the current deployment.
-
setDeploymentType
- Parameters:
deploymentType- TheDeployment.DeploymentTypeof the current deployment.
-
isOfType
- Parameters:
type- TheDeployment.DeploymentTypeto check against.- Returns:
- Whether the current deployment has the given
Deployment.DeploymentType.
-
setDeployedApplication
public void setDeployedApplication(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem deployedApplication) - Parameters:
deployedApplication- The application being deployed, upgraded or undeployed.
-
setDeployeds
- Parameters:
deployeds- A list ofConfigurationItems representing the deployeds of this deployment.
-
add
public void add(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem object) Adds aConfigurationItemto the list of deployeds of this deployment. -
addAll
Adds a list ofConfigurationItems to the list of deployeds of this deployment. -
getVersion
- Returns:
- The CI id of the deployed package.
-
getEnvironment
- Returns:
- The CI id of the deployment environment.
-
getDeployables
- Returns:
- A list of CI references (
ConfigurationItemIds) representing the deployables of this deployment.
-
setDeployables
- Parameters:
deployables- A list of CI references (ConfigurationItemIds) representing the deployables of this deployment.
-
getContainers
- Returns:
- A list of CI references (
ConfigurationItemIds) representing the containers of this deployment.
-
setContainers
- Parameters:
containers- A list of CI references (ConfigurationItemIds) representing the containers of this deployment.
-
getRequiredDeployments
- Returns:
- A list of Deployments (
Deployments) representing the dependent deployments.
-
getGroupedRequiredDeployments
-
setGroupedRequiredDeployments
- Parameters:
dependencies- A list of Deployments (Deployments) representing the dependent deployments.
-
getDeploymentGroupIndex
public int getDeploymentGroupIndex() -
setDeploymentGroupIndex
public void setDeploymentGroupIndex(int deploymentGroupIndex) -
setRequiredDeployments
-
getResolvedPlaceholders
public Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> getResolvedPlaceholders() -
addResolvedPlaceholders
public void addResolvedPlaceholders(Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders) -
setResolvedPlaceholders
public void setResolvedPlaceholders(Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders)
-