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.StringgetId()java.lang.StringgetLastDeploymentBy()org.joda.time.DateTimegetLastDeploymentDate()java.lang.StringgetLastDeploymentDateString()com.xebialabs.deployit.plugin.api.reflect.TypegetType()voidsetId(java.lang.String id)voidsetLastDeploymentBy(java.lang.String lastDeploymentBy)voidsetLastDeploymentDate(org.joda.time.DateTime lastDeploymentDate)voidsetType(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
 
 - 
 
 -