Class DeploymentInfo

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

public class DeploymentInfo extends AbstractDto
Contains information about the last deployment to an environment or host.
  • Constructor Details

    • DeploymentInfo

      public DeploymentInfo()
    • DeploymentInfo

      public DeploymentInfo(String id, com.xebialabs.deployit.plugin.api.reflect.Type type, org.joda.time.DateTime lastDeploymentDate, String lastDeploymentBy)
  • Method Details

    • getId

      public String getId()
      Returns:
      Environment or Host id.
    • setId

      public void setId(String id)
      Parameters:
      id - environment or host id
    • getType

      public com.xebialabs.deployit.plugin.api.reflect.Type getType()
      Returns:
      UDM Type of the environment or host
    • setType

      public void setType(com.xebialabs.deployit.plugin.api.reflect.Type type)
    • getLastDeploymentDate

      public org.joda.time.DateTime getLastDeploymentDate()
      Returns:
      Date of last deployment to this environment or host
    • getLastDeploymentDateString

      public String getLastDeploymentDateString()
      Returns:
      Date of last deployment to this environment or host, as string (or null)
    • setLastDeploymentDate

      public void setLastDeploymentDate(org.joda.time.DateTime lastDeploymentDate)
      Parameters:
      lastDeploymentDate - Date of last deployment to the host or environment
    • getLastDeploymentBy

      public String getLastDeploymentBy()
      Returns:
      User of last deployment on environment.
    • setLastDeploymentBy

      public void setLastDeploymentBy(String lastDeploymentBy)
      Parameters:
      lastDeploymentBy - user of last deployment