Class Deployment


  • public class Deployment
    extends AbstractDto
    The parameter object of a deployment action.
    • Constructor Detail

      • Deployment

        public Deployment()
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        The id of the deployment action.
      • setId

        public void setId​(java.lang.String id)
        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

        public java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> getDeployeds()
        Returns:
        A list of ConfigurationItems representing the deployeds of this deployment.
      • setDeployedApplication

        public void setDeployedApplication​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem deployedApplication)
        Parameters:
        deployedApplication - The application being deployed, upgraded or undeployed.
      • setDeployeds

        public void setDeployeds​(java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> deployeds)
        Parameters:
        deployeds - A list of ConfigurationItems representing the deployeds of this deployment.
      • add

        public void add​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem object)
        Adds a ConfigurationItem to the list of deployeds of this deployment.
      • addAll

        public 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.
      • getVersion

        public java.lang.String getVersion()
        Returns:
        The CI id of the deployed package.
      • getEnvironment

        public java.lang.String getEnvironment()
        Returns:
        The CI id of the deployment environment.
      • setDeployables

        public void setDeployables​(java.util.List<ConfigurationItemId> deployables)
        Parameters:
        deployables - A list of CI references (ConfigurationItemIds) representing the deployables of this deployment.
      • setContainers

        public void setContainers​(java.util.List<ConfigurationItemId> containers)
        Parameters:
        containers - A list of CI references (ConfigurationItemIds) representing the containers of this deployment.
      • getRequiredDeployments

        public java.util.List<Deployment> getRequiredDeployments()
        Returns:
        A list of Deployments (Deployments) representing the dependent deployments.
      • getGroupedRequiredDeployments

        public java.util.List<java.util.List<Deployment>> getGroupedRequiredDeployments()
      • setGroupedRequiredDeployments

        public void setGroupedRequiredDeployments​(java.util.List<java.util.List<Deployment>> dependencies)
        Parameters:
        dependencies - A list of Deployments (Deployments) representing the dependent deployments.
      • getDeploymentGroupIndex

        public int getDeploymentGroupIndex()
      • setDeploymentGroupIndex

        public void setDeploymentGroupIndex​(int deploymentGroupIndex)
      • setRequiredDeployments

        public void setRequiredDeployments​(java.util.List<Deployment> requiredDeployments)
      • getResolvedPlaceholders

        public java.util.Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> getResolvedPlaceholders()
      • addResolvedPlaceholders

        public void addResolvedPlaceholders​(java.util.Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders)
      • setResolvedPlaceholders

        public void setResolvedPlaceholders​(java.util.Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders)