public class DeploymentInfo extends Object implements Serializable, Cloneable
Information about a deployment.
Constructor and Description |
---|
DeploymentInfo() |
Modifier and Type | Method and Description |
---|---|
DeploymentInfo |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationName()
The application name.
|
Date |
getCompleteTime()
A timestamp indicating when the deployment was completed.
|
Date |
getCreateTime()
A timestamp indicating when the deployment was created.
|
String |
getCreator()
How the deployment was created:
|
String |
getDeploymentConfigName()
The deployment configuration name.
|
String |
getDeploymentGroupName()
The deployment group name.
|
String |
getDeploymentId()
The deployment ID.
|
DeploymentOverview |
getDeploymentOverview()
A summary of the deployment status of the instances in the deployment.
|
String |
getDescription()
A comment about the deployment.
|
ErrorInformation |
getErrorInformation()
Information about any error associated with this deployment.
|
Boolean |
getIgnoreApplicationStopFailures()
If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to fail to a specific instance, the deployment will not
be considered to have failed to that instance at that point and will
continue on to the BeforeInstall deployment lifecycle event.
|
RevisionLocation |
getRevision()
Information about the location of application artifacts that are stored
and the service to retrieve them from.
|
Date |
getStartTime()
A timestamp indicating when the deployment began deploying to the
deployment group.
|
String |
getStatus()
The current state of the deployment as a whole.
|
int |
hashCode() |
Boolean |
isIgnoreApplicationStopFailures()
If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to fail to a specific instance, the deployment will not
be considered to have failed to that instance at that point and will
continue on to the BeforeInstall deployment lifecycle event.
|
void |
setApplicationName(String applicationName)
The application name.
|
void |
setCompleteTime(Date completeTime)
A timestamp indicating when the deployment was completed.
|
void |
setCreateTime(Date createTime)
A timestamp indicating when the deployment was created.
|
void |
setCreator(DeploymentCreator creator)
How the deployment was created:
|
void |
setCreator(String creator)
How the deployment was created:
|
void |
setDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
|
void |
setDeploymentGroupName(String deploymentGroupName)
The deployment group name.
|
void |
setDeploymentId(String deploymentId)
The deployment ID.
|
void |
setDeploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
|
void |
setDescription(String description)
A comment about the deployment.
|
void |
setErrorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
|
void |
setIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to fail to a specific instance, the deployment will not
be considered to have failed to that instance at that point and will
continue on to the BeforeInstall deployment lifecycle event.
|
void |
setRevision(RevisionLocation revision)
Information about the location of application artifacts that are stored
and the service to retrieve them from.
|
void |
setStartTime(Date startTime)
A timestamp indicating when the deployment began deploying to the
deployment group.
|
void |
setStatus(DeploymentStatus status)
The current state of the deployment as a whole.
|
void |
setStatus(String status)
The current state of the deployment as a whole.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeploymentInfo |
withApplicationName(String applicationName)
The application name.
|
DeploymentInfo |
withCompleteTime(Date completeTime)
A timestamp indicating when the deployment was completed.
|
DeploymentInfo |
withCreateTime(Date createTime)
A timestamp indicating when the deployment was created.
|
DeploymentInfo |
withCreator(DeploymentCreator creator)
How the deployment was created:
|
DeploymentInfo |
withCreator(String creator)
How the deployment was created:
|
DeploymentInfo |
withDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
|
DeploymentInfo |
withDeploymentGroupName(String deploymentGroupName)
The deployment group name.
|
DeploymentInfo |
withDeploymentId(String deploymentId)
The deployment ID.
|
DeploymentInfo |
withDeploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
|
DeploymentInfo |
withDescription(String description)
A comment about the deployment.
|
DeploymentInfo |
withErrorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
|
DeploymentInfo |
withIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to fail to a specific instance, the deployment will not
be considered to have failed to that instance at that point and will
continue on to the BeforeInstall deployment lifecycle event.
|
DeploymentInfo |
withRevision(RevisionLocation revision)
Information about the location of application artifacts that are stored
and the service to retrieve them from.
|
DeploymentInfo |
withStartTime(Date startTime)
A timestamp indicating when the deployment began deploying to the
deployment group.
|
DeploymentInfo |
withStatus(DeploymentStatus status)
The current state of the deployment as a whole.
|
DeploymentInfo |
withStatus(String status)
The current state of the deployment as a whole.
|
public void setApplicationName(String applicationName)
The application name.
applicationName
- The application name.public String getApplicationName()
The application name.
public DeploymentInfo withApplicationName(String applicationName)
The application name.
applicationName
- The application name.public void setDeploymentGroupName(String deploymentGroupName)
The deployment group name.
deploymentGroupName
- The deployment group name.public String getDeploymentGroupName()
The deployment group name.
public DeploymentInfo withDeploymentGroupName(String deploymentGroupName)
The deployment group name.
deploymentGroupName
- The deployment group name.public void setDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
deploymentConfigName
- The deployment configuration name.public String getDeploymentConfigName()
The deployment configuration name.
public DeploymentInfo withDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
deploymentConfigName
- The deployment configuration name.public void setDeploymentId(String deploymentId)
The deployment ID.
deploymentId
- The deployment ID.public String getDeploymentId()
The deployment ID.
public DeploymentInfo withDeploymentId(String deploymentId)
The deployment ID.
deploymentId
- The deployment ID.public void setRevision(RevisionLocation revision)
Information about the location of application artifacts that are stored and the service to retrieve them from.
revision
- Information about the location of application artifacts that are
stored and the service to retrieve them from.public RevisionLocation getRevision()
Information about the location of application artifacts that are stored and the service to retrieve them from.
public DeploymentInfo withRevision(RevisionLocation revision)
Information about the location of application artifacts that are stored and the service to retrieve them from.
revision
- Information about the location of application artifacts that are
stored and the service to retrieve them from.public void setStatus(String status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
public String getStatus()
The current state of the deployment as a whole.
DeploymentStatus
public DeploymentInfo withStatus(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(Date createTime)
A timestamp indicating when the deployment was created.
createTime
- A timestamp indicating when the deployment was created.public Date getCreateTime()
A timestamp indicating when the deployment was created.
public DeploymentInfo withCreateTime(Date createTime)
A timestamp indicating when the deployment was created.
createTime
- A timestamp indicating when the deployment was created.public void setStartTime(Date startTime)
A timestamp indicating when the deployment began deploying to the deployment group.
Note that 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 various back-end servers that participate in the overall deployment process.
startTime
- A timestamp indicating when the deployment began deploying to the
deployment group.
Note that 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 various back-end servers that participate in the overall deployment process.
public Date getStartTime()
A timestamp indicating when the deployment began deploying to the deployment group.
Note that 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 various back-end servers that participate in the overall deployment process.
Note that 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 various back-end servers that participate in the overall deployment process.
public DeploymentInfo withStartTime(Date startTime)
A timestamp indicating when the deployment began deploying to the deployment group.
Note that 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 various back-end servers that participate in the overall deployment process.
startTime
- A timestamp indicating when the deployment began deploying to the
deployment group.
Note that 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 various back-end servers that participate in the overall deployment process.
public void setCompleteTime(Date completeTime)
A timestamp indicating when the deployment was completed.
completeTime
- A timestamp indicating when the deployment was completed.public Date getCompleteTime()
A timestamp indicating when the deployment was completed.
public DeploymentInfo withCompleteTime(Date completeTime)
A timestamp indicating when the deployment was completed.
completeTime
- A timestamp indicating when the deployment was completed.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(String description)
A comment about the deployment.
description
- A comment about the deployment.public String getDescription()
A comment about the deployment.
public DeploymentInfo withDescription(String description)
A comment about the deployment.
description
- A comment about the deployment.public void setCreator(String creator)
How the deployment was created:
creator
- How the deployment was created:
DeploymentCreator
public String getCreator()
How the deployment was created:
DeploymentCreator
public DeploymentInfo withCreator(String creator)
How the deployment was created:
creator
- How the deployment was created:
DeploymentCreator
public void setCreator(DeploymentCreator creator)
How the deployment was created:
creator
- How the deployment was created:
DeploymentCreator
public DeploymentInfo withCreator(DeploymentCreator creator)
How the deployment was created:
creator
- How the deployment was created:
DeploymentCreator
public void setIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will not be considered to have failed to that instance 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 fail to a specific instance, the deployment will stop to that instance, 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 fail to a specific instance, the
deployment will not be considered to have failed to that instance
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 fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public Boolean getIgnoreApplicationStopFailures()
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will not be considered to have failed to that instance 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 fail to a specific instance, the deployment will stop to that instance, 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 fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public DeploymentInfo withIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will not be considered to have failed to that instance 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 fail to a specific instance, the deployment will stop to that instance, 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 fail to a specific instance, the
deployment will not be considered to have failed to that instance
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 fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public Boolean isIgnoreApplicationStopFailures()
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will not be considered to have failed to that instance 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 fail to a specific instance, the deployment will stop to that instance, 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 fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public String toString()
toString
in class Object
Object.toString()
public DeploymentInfo clone()
Copyright © 2015. All rights reserved.