public class LifecycleEvent
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a deployment lifecycle event.
Modifier and Type | Field and Description |
---|---|
private Diagnostics |
diagnostics
Diagnostic information about the deployment lifecycle event.
|
private java.util.Date |
endTime
A timestamp indicating when the deployment lifecycle event ended.
|
private java.lang.String |
lifecycleEventName
The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
|
private java.util.Date |
startTime
A timestamp indicating when the deployment lifecycle event started.
|
private java.lang.String |
status
The deployment lifecycle event status:
|
Constructor and Description |
---|
LifecycleEvent() |
Modifier and Type | Method and Description |
---|---|
LifecycleEvent |
clone() |
boolean |
equals(java.lang.Object obj) |
Diagnostics |
getDiagnostics()
Diagnostic information about the deployment lifecycle event.
|
java.util.Date |
getEndTime()
A timestamp indicating when the deployment lifecycle event ended.
|
java.lang.String |
getLifecycleEventName()
The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
|
java.util.Date |
getStartTime()
A timestamp indicating when the deployment lifecycle event started.
|
java.lang.String |
getStatus()
The deployment lifecycle event status:
|
int |
hashCode() |
void |
setDiagnostics(Diagnostics diagnostics)
Diagnostic information about the deployment lifecycle event.
|
void |
setEndTime(java.util.Date endTime)
A timestamp indicating when the deployment lifecycle event ended.
|
void |
setLifecycleEventName(java.lang.String lifecycleEventName)
The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
|
void |
setStartTime(java.util.Date startTime)
A timestamp indicating when the deployment lifecycle event started.
|
void |
setStatus(LifecycleEventStatus status)
The deployment lifecycle event status:
|
void |
setStatus(java.lang.String status)
The deployment lifecycle event status:
|
java.lang.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(java.util.Date endTime)
A timestamp indicating when the deployment lifecycle event ended.
|
LifecycleEvent |
withLifecycleEventName(java.lang.String lifecycleEventName)
The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
|
LifecycleEvent |
withStartTime(java.util.Date startTime)
A timestamp indicating when the deployment lifecycle event started.
|
LifecycleEvent |
withStatus(LifecycleEventStatus status)
The deployment lifecycle event status:
|
LifecycleEvent |
withStatus(java.lang.String status)
The deployment lifecycle event status:
|
private java.lang.String lifecycleEventName
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
private Diagnostics diagnostics
Diagnostic information about the deployment lifecycle event.
private java.util.Date startTime
A timestamp indicating when the deployment lifecycle event started.
private java.util.Date endTime
A timestamp indicating when the deployment lifecycle event ended.
private java.lang.String status
The deployment lifecycle event status:
public void setLifecycleEventName(java.lang.String lifecycleEventName)
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
lifecycleEventName
- The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.public java.lang.String getLifecycleEventName()
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
public LifecycleEvent withLifecycleEventName(java.lang.String lifecycleEventName)
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
lifecycleEventName
- The deployment lifecycle event name, such as ApplicationStop,
BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.public void setDiagnostics(Diagnostics diagnostics)
Diagnostic information about the deployment lifecycle event.
diagnostics
- Diagnostic information about the deployment lifecycle event.public Diagnostics getDiagnostics()
Diagnostic information about the deployment lifecycle event.
public LifecycleEvent withDiagnostics(Diagnostics diagnostics)
Diagnostic information about the deployment lifecycle event.
diagnostics
- Diagnostic information about the deployment lifecycle event.public void setStartTime(java.util.Date startTime)
A timestamp indicating when the deployment lifecycle event started.
startTime
- A timestamp indicating when the deployment lifecycle event
started.public java.util.Date getStartTime()
A timestamp indicating when the deployment lifecycle event started.
public LifecycleEvent withStartTime(java.util.Date startTime)
A timestamp indicating when the deployment lifecycle event started.
startTime
- A timestamp indicating when the deployment lifecycle event
started.public void setEndTime(java.util.Date endTime)
A timestamp indicating when the deployment lifecycle event ended.
endTime
- A timestamp indicating when the deployment lifecycle event ended.public java.util.Date getEndTime()
A timestamp indicating when the deployment lifecycle event ended.
public LifecycleEvent withEndTime(java.util.Date endTime)
A timestamp indicating when the deployment lifecycle event ended.
endTime
- A timestamp indicating when the deployment lifecycle event ended.public void setStatus(java.lang.String status)
The deployment lifecycle event status:
status
- The deployment lifecycle event status:
LifecycleEventStatus
public java.lang.String getStatus()
The deployment lifecycle event status:
LifecycleEventStatus
public LifecycleEvent withStatus(java.lang.String status)
The deployment lifecycle event status:
status
- The deployment lifecycle event status:
LifecycleEventStatus
public void setStatus(LifecycleEventStatus status)
The deployment lifecycle event status:
status
- The deployment lifecycle event status:
LifecycleEventStatus
public LifecycleEvent withStatus(LifecycleEventStatus status)
The deployment lifecycle event status:
status
- The deployment lifecycle event status:
LifecycleEventStatus
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 LifecycleEvent clone()
clone
in class java.lang.Object