Class Deployment

java.lang.Object
com.xebialabs.deployit.engine.api.dto.AbstractDto
com.xebialabs.deployit.engine.api.dto.Deployment

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

    • Deployment

      public Deployment()
  • Method Details

    • getId

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

      public void setId(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 List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> getDeployeds()
      Returns:
      A list of ConfigurationItems representing the deployeds of this deployment.
    • getDeploymentType

      public Deployment.DeploymentType getDeploymentType()
      Returns:
      The Deployment.DeploymentType of the current deployment.
    • setDeploymentType

      public void setDeploymentType(Deployment.DeploymentType deploymentType)
      Parameters:
      deploymentType - The Deployment.DeploymentType of the current deployment.
    • isOfType

      public boolean isOfType(Deployment.DeploymentType type)
      Parameters:
      type - The Deployment.DeploymentType to 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

      public void setDeployeds(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(List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> deployeds)
      Adds a list of ConfigurationItems to the list of deployeds of this deployment.
    • getVersion

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

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

      public List<ConfigurationItemId> getDeployables()
      Returns:
      A list of CI references (ConfigurationItemIds) representing the deployables of this deployment.
    • setDeployables

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

      public List<ConfigurationItemId> getContainers()
      Returns:
      A list of CI references (ConfigurationItemIds) representing the containers of this deployment.
    • setContainers

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

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

      public List<List<Deployment>> getGroupedRequiredDeployments()
    • setGroupedRequiredDeployments

      public void setGroupedRequiredDeployments(List<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(List<Deployment> requiredDeployments)
    • 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)