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 Summary
Constructors Constructor Description DeploymentInfo()
DeploymentInfo(java.lang.String id, com.xebialabs.deployit.plugin.api.reflect.Type type, org.joda.time.DateTime lastDeploymentDate, java.lang.String lastDeploymentBy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
java.lang.String
getLastDeploymentBy()
org.joda.time.DateTime
getLastDeploymentDate()
java.lang.String
getLastDeploymentDateString()
com.xebialabs.deployit.plugin.api.reflect.Type
getType()
void
setId(java.lang.String id)
void
setLastDeploymentBy(java.lang.String lastDeploymentBy)
void
setLastDeploymentDate(org.joda.time.DateTime lastDeploymentDate)
void
setType(com.xebialabs.deployit.plugin.api.reflect.Type type)
-
Methods inherited from class com.xebialabs.deployit.engine.api.dto.AbstractDto
toString
-
-
-
-
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
-
-