Class DeploymentInfo
java.lang.Object
com.xebialabs.deployit.engine.api.dto.AbstractDto
com.xebialabs.deployit.engine.api.dto.DeploymentInfo
Contains information about the last deployment to an environment or host.
-
Constructor Summary
ConstructorDescriptionDeploymentInfo
(String id, com.xebialabs.deployit.plugin.api.reflect.Type type, org.joda.time.DateTime lastDeploymentDate, String lastDeploymentBy) -
Method Summary
Modifier and TypeMethodDescriptiongetId()
org.joda.time.DateTime
com.xebialabs.deployit.plugin.api.reflect.Type
getType()
void
void
setLastDeploymentBy
(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
-
Constructor Details
-
DeploymentInfo
public DeploymentInfo() -
DeploymentInfo
-
-
Method Details
-
getId
- Returns:
- Environment or Host id.
-
setId
- 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
- 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
- Returns:
- User of last deployment on environment.
-
setLastDeploymentBy
- Parameters:
lastDeploymentBy
- user of last deployment
-