public class LifecycleEvent extends Object implements Serializable
Information about a deployment lifecycle event.
Constructor and Description |
---|
LifecycleEvent() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Diagnostics |
getDiagnostics()
Diagnostic information about the deployment lifecycle event.
|
Date |
getEndTime()
A timestamp indicating when the deployment lifecycle event ended.
|
String |
getLifecycleEventName()
The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
|
Date |
getStartTime()
A timestamp indicating when the deployment lifecycle event started.
|
String |
getStatus()
The deployment lifecycle event status: Pending: The
deployment lifecycle event is pending. InProgress: The
deployment lifecycle event is in progress. Succeeded: The
deployment lifecycle event has succeeded. Failed: The
deployment lifecycle event has failed. Skipped: The
deployment lifecycle event has been skipped. Unknown: The
deployment lifecycle event is unknown.
|
int |
hashCode() |
void |
setDiagnostics(Diagnostics diagnostics)
Diagnostic information about the deployment lifecycle event.
|
void |
setEndTime(Date endTime)
A timestamp indicating when the deployment lifecycle event ended.
|
void |
setLifecycleEventName(String lifecycleEventName)
The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
|
void |
setStartTime(Date startTime)
A timestamp indicating when the deployment lifecycle event started.
|
void |
setStatus(LifecycleEventStatus status)
The deployment lifecycle event status: Pending: The
deployment lifecycle event is pending. InProgress: The
deployment lifecycle event is in progress. Succeeded: The
deployment lifecycle event has succeeded. Failed: The
deployment lifecycle event has failed. Skipped: The
deployment lifecycle event has been skipped. Unknown: The
deployment lifecycle event is unknown.
|
void |
setStatus(String status)
The deployment lifecycle event status: Pending: The
deployment lifecycle event is pending. InProgress: The
deployment lifecycle event is in progress. Succeeded: The
deployment lifecycle event has succeeded. Failed: The
deployment lifecycle event has failed. Skipped: The
deployment lifecycle event has been skipped. Unknown: The
deployment lifecycle event is unknown.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LifecycleEvent |
withDiagnostics(Diagnostics diagnostics)
Diagnostic information about the deployment lifecycle event.
|
LifecycleEvent |
withEndTime(Date endTime)
A timestamp indicating when the deployment lifecycle event ended.
|
LifecycleEvent |
withLifecycleEventName(String lifecycleEventName)
The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
|
LifecycleEvent |
withStartTime(Date startTime)
A timestamp indicating when the deployment lifecycle event started.
|
LifecycleEvent |
withStatus(LifecycleEventStatus status)
The deployment lifecycle event status: Pending: The
deployment lifecycle event is pending. InProgress: The
deployment lifecycle event is in progress. Succeeded: The
deployment lifecycle event has succeeded. Failed: The
deployment lifecycle event has failed. Skipped: The
deployment lifecycle event has been skipped. Unknown: The
deployment lifecycle event is unknown.
|
LifecycleEvent |
withStatus(String status)
The deployment lifecycle event status: Pending: The
deployment lifecycle event is pending. InProgress: The
deployment lifecycle event is in progress. Succeeded: The
deployment lifecycle event has succeeded. Failed: The
deployment lifecycle event has failed. Skipped: The
deployment lifecycle event has been skipped. Unknown: The
deployment lifecycle event is unknown.
|
public String getLifecycleEventName()
public void setLifecycleEventName(String lifecycleEventName)
lifecycleEventName
- The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.public LifecycleEvent withLifecycleEventName(String lifecycleEventName)
Returns a reference to this object so that method calls can be chained together.
lifecycleEventName
- The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.public Diagnostics getDiagnostics()
public void setDiagnostics(Diagnostics diagnostics)
diagnostics
- Diagnostic information about the deployment lifecycle event.public LifecycleEvent withDiagnostics(Diagnostics diagnostics)
Returns a reference to this object so that method calls can be chained together.
diagnostics
- Diagnostic information about the deployment lifecycle event.public Date getStartTime()
public void setStartTime(Date startTime)
startTime
- A timestamp indicating when the deployment lifecycle event started.public LifecycleEvent withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- A timestamp indicating when the deployment lifecycle event started.public Date getEndTime()
public void setEndTime(Date endTime)
endTime
- A timestamp indicating when the deployment lifecycle event ended.public LifecycleEvent withEndTime(Date endTime)
Returns a reference to this object so that method calls can be chained together.
endTime
- A timestamp indicating when the deployment lifecycle event ended.public String getStatus()
Constraints:
Allowed Values: Pending, InProgress, Succeeded, Failed, Skipped, Unknown
LifecycleEventStatus
public void setStatus(String status)
Constraints:
Allowed Values: Pending, InProgress, Succeeded, Failed, Skipped, Unknown
status
- The deployment lifecycle event status: LifecycleEventStatus
public LifecycleEvent withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, InProgress, Succeeded, Failed, Skipped, Unknown
status
- The deployment lifecycle event status: LifecycleEventStatus
public void setStatus(LifecycleEventStatus status)
Constraints:
Allowed Values: Pending, InProgress, Succeeded, Failed, Skipped, Unknown
status
- The deployment lifecycle event status: LifecycleEventStatus
public LifecycleEvent withStatus(LifecycleEventStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, InProgress, Succeeded, Failed, Skipped, Unknown
status
- The deployment lifecycle event status: LifecycleEventStatus
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.