public class DeploymentInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a deployment.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The application name.
|
private java.util.Date |
completeTime
A timestamp indicating when the deployment was complete.
|
private java.util.Date |
createTime
A timestamp indicating when the deployment was created.
|
private java.lang.String |
creator
The means by which the deployment was created:
|
private java.lang.String |
deploymentConfigName
The deployment configuration name.
|
private java.lang.String |
deploymentGroupName
The deployment group name.
|
private java.lang.String |
deploymentId
The deployment ID.
|
private DeploymentOverview |
deploymentOverview
A summary of the deployment status of the instances in the deployment.
|
private java.lang.String |
description
A comment about the deployment.
|
private ErrorInformation |
errorInformation
Information about any error associated with this deployment.
|
private java.lang.Boolean |
ignoreApplicationStopFailures
If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to an instance to fail, the deployment to that instance
will not be considered to have failed at that point and will continue on
to the BeforeInstall deployment lifecycle event.
|
private RevisionLocation |
revision
Information about the location of stored application artifacts and the
service from which to retrieve them.
|
private java.util.Date |
startTime
A timestamp indicating when the deployment was deployed to the deployment
group.
|
private java.lang.String |
status
The current state of the deployment as a whole.
|
Constructor and Description |
---|
DeploymentInfo() |
Modifier and Type | Method and Description |
---|---|
DeploymentInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The application name.
|
java.util.Date |
getCompleteTime()
A timestamp indicating when the deployment was complete.
|
java.util.Date |
getCreateTime()
A timestamp indicating when the deployment was created.
|
java.lang.String |
getCreator()
The means by which the deployment was created:
|
java.lang.String |
getDeploymentConfigName()
The deployment configuration name.
|
java.lang.String |
getDeploymentGroupName()
The deployment group name.
|
java.lang.String |
getDeploymentId()
The deployment ID.
|
DeploymentOverview |
getDeploymentOverview()
A summary of the deployment status of the instances in the deployment.
|
java.lang.String |
getDescription()
A comment about the deployment.
|
ErrorInformation |
getErrorInformation()
Information about any error associated with this deployment.
|
java.lang.Boolean |
getIgnoreApplicationStopFailures()
If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to an instance to fail, the deployment to that instance
will not be considered to have failed at that point and will continue on
to the BeforeInstall deployment lifecycle event.
|
RevisionLocation |
getRevision()
Information about the location of stored application artifacts and the
service from which to retrieve them.
|
java.util.Date |
getStartTime()
A timestamp indicating when the deployment was deployed to the deployment
group.
|
java.lang.String |
getStatus()
The current state of the deployment as a whole.
|
int |
hashCode() |
java.lang.Boolean |
isIgnoreApplicationStopFailures()
If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to an instance to fail, the deployment to that instance
will not be considered to have failed at that point and will continue on
to the BeforeInstall deployment lifecycle event.
|
void |
setApplicationName(java.lang.String applicationName)
The application name.
|
void |
setCompleteTime(java.util.Date completeTime)
A timestamp indicating when the deployment was complete.
|
void |
setCreateTime(java.util.Date createTime)
A timestamp indicating when the deployment was created.
|
void |
setCreator(DeploymentCreator creator)
The means by which the deployment was created:
|
void |
setCreator(java.lang.String creator)
The means by which the deployment was created:
|
void |
setDeploymentConfigName(java.lang.String deploymentConfigName)
The deployment configuration name.
|
void |
setDeploymentGroupName(java.lang.String deploymentGroupName)
The deployment group name.
|
void |
setDeploymentId(java.lang.String deploymentId)
The deployment ID.
|
void |
setDeploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
|
void |
setDescription(java.lang.String description)
A comment about the deployment.
|
void |
setErrorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
|
void |
setIgnoreApplicationStopFailures(java.lang.Boolean ignoreApplicationStopFailures)
If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to an instance to fail, the deployment to that instance
will not be considered to have failed at that point and will continue on
to the BeforeInstall deployment lifecycle event.
|
void |
setRevision(RevisionLocation revision)
Information about the location of stored application artifacts and the
service from which to retrieve them.
|
void |
setStartTime(java.util.Date startTime)
A timestamp indicating when the deployment was deployed to the deployment
group.
|
void |
setStatus(DeploymentStatus status)
The current state of the deployment as a whole.
|
void |
setStatus(java.lang.String status)
The current state of the deployment as a whole.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeploymentInfo |
withApplicationName(java.lang.String applicationName)
The application name.
|
DeploymentInfo |
withCompleteTime(java.util.Date completeTime)
A timestamp indicating when the deployment was complete.
|
DeploymentInfo |
withCreateTime(java.util.Date createTime)
A timestamp indicating when the deployment was created.
|
DeploymentInfo |
withCreator(DeploymentCreator creator)
The means by which the deployment was created:
|
DeploymentInfo |
withCreator(java.lang.String creator)
The means by which the deployment was created:
|
DeploymentInfo |
withDeploymentConfigName(java.lang.String deploymentConfigName)
The deployment configuration name.
|
DeploymentInfo |
withDeploymentGroupName(java.lang.String deploymentGroupName)
The deployment group name.
|
DeploymentInfo |
withDeploymentId(java.lang.String deploymentId)
The deployment ID.
|
DeploymentInfo |
withDeploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
|
DeploymentInfo |
withDescription(java.lang.String description)
A comment about the deployment.
|
DeploymentInfo |
withErrorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
|
DeploymentInfo |
withIgnoreApplicationStopFailures(java.lang.Boolean ignoreApplicationStopFailures)
If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to an instance to fail, the deployment to that instance
will not be considered to have failed at that point and will continue on
to the BeforeInstall deployment lifecycle event.
|
DeploymentInfo |
withRevision(RevisionLocation revision)
Information about the location of stored application artifacts and the
service from which to retrieve them.
|
DeploymentInfo |
withStartTime(java.util.Date startTime)
A timestamp indicating when the deployment was deployed to the deployment
group.
|
DeploymentInfo |
withStatus(DeploymentStatus status)
The current state of the deployment as a whole.
|
DeploymentInfo |
withStatus(java.lang.String status)
The current state of the deployment as a whole.
|
private java.lang.String applicationName
The application name.
private java.lang.String deploymentGroupName
The deployment group name.
private java.lang.String deploymentConfigName
The deployment configuration name.
private java.lang.String deploymentId
The deployment ID.
private RevisionLocation revision
Information about the location of stored application artifacts and the service from which to retrieve them.
private java.lang.String status
The current state of the deployment as a whole.
private ErrorInformation errorInformation
Information about any error associated with this deployment.
private java.util.Date createTime
A timestamp indicating when the deployment was created.
private java.util.Date startTime
A timestamp indicating when the deployment was deployed to the deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
private java.util.Date completeTime
A timestamp indicating when the deployment was complete.
private DeploymentOverview deploymentOverview
A summary of the deployment status of the instances in the deployment.
private java.lang.String description
A comment about the deployment.
private java.lang.String creator
The means by which the deployment was created:
private java.lang.Boolean ignoreApplicationStopFailures
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
public void setApplicationName(java.lang.String applicationName)
The application name.
applicationName
- The application name.public java.lang.String getApplicationName()
The application name.
public DeploymentInfo withApplicationName(java.lang.String applicationName)
The application name.
applicationName
- The application name.public void setDeploymentGroupName(java.lang.String deploymentGroupName)
The deployment group name.
deploymentGroupName
- The deployment group name.public java.lang.String getDeploymentGroupName()
The deployment group name.
public DeploymentInfo withDeploymentGroupName(java.lang.String deploymentGroupName)
The deployment group name.
deploymentGroupName
- The deployment group name.public void setDeploymentConfigName(java.lang.String deploymentConfigName)
The deployment configuration name.
deploymentConfigName
- The deployment configuration name.public java.lang.String getDeploymentConfigName()
The deployment configuration name.
public DeploymentInfo withDeploymentConfigName(java.lang.String deploymentConfigName)
The deployment configuration name.
deploymentConfigName
- The deployment configuration name.public void setDeploymentId(java.lang.String deploymentId)
The deployment ID.
deploymentId
- The deployment ID.public java.lang.String getDeploymentId()
The deployment ID.
public DeploymentInfo withDeploymentId(java.lang.String deploymentId)
The deployment ID.
deploymentId
- The deployment ID.public void setRevision(RevisionLocation revision)
Information about the location of stored application artifacts and the service from which to retrieve them.
revision
- Information about the location of stored application artifacts and
the service from which to retrieve them.public RevisionLocation getRevision()
Information about the location of stored application artifacts and the service from which to retrieve them.
public DeploymentInfo withRevision(RevisionLocation revision)
Information about the location of stored application artifacts and the service from which to retrieve them.
revision
- Information about the location of stored application artifacts and
the service from which to retrieve them.public void setStatus(java.lang.String status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
public java.lang.String getStatus()
The current state of the deployment as a whole.
DeploymentStatus
public DeploymentInfo withStatus(java.lang.String status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
public void setStatus(DeploymentStatus status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
public DeploymentInfo withStatus(DeploymentStatus status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
public void setErrorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
errorInformation
- Information about any error associated with this deployment.public ErrorInformation getErrorInformation()
Information about any error associated with this deployment.
public DeploymentInfo withErrorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
errorInformation
- Information about any error associated with this deployment.public void setCreateTime(java.util.Date createTime)
A timestamp indicating when the deployment was created.
createTime
- A timestamp indicating when the deployment was created.public java.util.Date getCreateTime()
A timestamp indicating when the deployment was created.
public DeploymentInfo withCreateTime(java.util.Date createTime)
A timestamp indicating when the deployment was created.
createTime
- A timestamp indicating when the deployment was created.public void setStartTime(java.util.Date startTime)
A timestamp indicating when the deployment was deployed to the deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
startTime
- A timestamp indicating when the deployment was deployed to the
deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
public java.util.Date getStartTime()
A timestamp indicating when the deployment was deployed to the deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
public DeploymentInfo withStartTime(java.util.Date startTime)
A timestamp indicating when the deployment was deployed to the deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
startTime
- A timestamp indicating when the deployment was deployed to the
deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
public void setCompleteTime(java.util.Date completeTime)
A timestamp indicating when the deployment was complete.
completeTime
- A timestamp indicating when the deployment was complete.public java.util.Date getCompleteTime()
A timestamp indicating when the deployment was complete.
public DeploymentInfo withCompleteTime(java.util.Date completeTime)
A timestamp indicating when the deployment was complete.
completeTime
- A timestamp indicating when the deployment was complete.public void setDeploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
deploymentOverview
- A summary of the deployment status of the instances in the
deployment.public DeploymentOverview getDeploymentOverview()
A summary of the deployment status of the instances in the deployment.
public DeploymentInfo withDeploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
deploymentOverview
- A summary of the deployment status of the instances in the
deployment.public void setDescription(java.lang.String description)
A comment about the deployment.
description
- A comment about the deployment.public java.lang.String getDescription()
A comment about the deployment.
public DeploymentInfo withDescription(java.lang.String description)
A comment about the deployment.
description
- A comment about the deployment.public void setCreator(java.lang.String creator)
The means by which the deployment was created:
creator
- The means by which the deployment was created:
DeploymentCreator
public java.lang.String getCreator()
The means by which the deployment was created:
DeploymentCreator
public DeploymentInfo withCreator(java.lang.String creator)
The means by which the deployment was created:
creator
- The means by which the deployment was created:
DeploymentCreator
public void setCreator(DeploymentCreator creator)
The means by which the deployment was created:
creator
- The means by which the deployment was created:
DeploymentCreator
public DeploymentInfo withCreator(DeploymentCreator creator)
The means by which the deployment was created:
creator
- The means by which the deployment was created:
DeploymentCreator
public void setIgnoreApplicationStopFailures(java.lang.Boolean ignoreApplicationStopFailures)
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
ignoreApplicationStopFailures
- If true, then if the deployment causes the ApplicationStop
deployment lifecycle event to an instance to fail, the deployment
to that instance will not be considered to have failed at that
point and will continue on to the BeforeInstall deployment
lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
public java.lang.Boolean getIgnoreApplicationStopFailures()
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
public DeploymentInfo withIgnoreApplicationStopFailures(java.lang.Boolean ignoreApplicationStopFailures)
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
ignoreApplicationStopFailures
- If true, then if the deployment causes the ApplicationStop
deployment lifecycle event to an instance to fail, the deployment
to that instance will not be considered to have failed at that
point and will continue on to the BeforeInstall deployment
lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
public java.lang.Boolean isIgnoreApplicationStopFailures()
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeploymentInfo clone()
clone
in class java.lang.Object