public class DeploymentInfo extends AbstractDto
Constructor and Description |
---|
DeploymentInfo() |
DeploymentInfo(java.lang.String id,
com.xebialabs.deployit.plugin.api.reflect.Type type,
org.joda.time.DateTime lastDeploymentDate,
java.lang.String lastDeploymentBy) |
Modifier and Type | Method and 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) |
toString
public DeploymentInfo()
public DeploymentInfo(java.lang.String id, com.xebialabs.deployit.plugin.api.reflect.Type type, org.joda.time.DateTime lastDeploymentDate, java.lang.String lastDeploymentBy)
public java.lang.String getId()
public void setId(java.lang.String id)
id
- environment or host idpublic com.xebialabs.deployit.plugin.api.reflect.Type getType()
public void setType(com.xebialabs.deployit.plugin.api.reflect.Type type)
public org.joda.time.DateTime getLastDeploymentDate()
public java.lang.String getLastDeploymentDateString()
public void setLastDeploymentDate(org.joda.time.DateTime lastDeploymentDate)
lastDeploymentDate
- Date of last deployment to the host or environmentpublic java.lang.String getLastDeploymentBy()
public void setLastDeploymentBy(java.lang.String lastDeploymentBy)
lastDeploymentBy
- user of last deployment