Class DeploymentInfo


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

      • DeploymentInfo

        public DeploymentInfo()
      • DeploymentInfo

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

      • getId

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

        public void setId​(java.lang.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 java.lang.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 java.lang.String getLastDeploymentBy()
        Returns:
        User of last deployment on environment.
      • setLastDeploymentBy

        public void setLastDeploymentBy​(java.lang.String lastDeploymentBy)
        Parameters:
        lastDeploymentBy - user of last deployment