Class LifecycleEvent
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a deployment lifecycle event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Diagnostic information about the deployment lifecycle event.A timestamp indicating when the deployment lifecycle event ended.The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.A timestamp indicating when the deployment lifecycle event started.The deployment lifecycle event status: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:void
The deployment lifecycle event status:toString()
Returns a string representation of this object; useful for testing and debugging.withDiagnostics
(Diagnostics diagnostics) Diagnostic information about the deployment lifecycle event.withEndTime
(Date endTime) A timestamp indicating when the deployment lifecycle event ended.withLifecycleEventName
(String lifecycleEventName) The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.withStartTime
(Date startTime) A timestamp indicating when the deployment lifecycle event started.withStatus
(LifecycleEventStatus status) The deployment lifecycle event status:withStatus
(String status) The deployment lifecycle event status:
-
Constructor Details
-
LifecycleEvent
public LifecycleEvent()
-
-
Method Details
-
setLifecycleEventName
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
- Parameters:
lifecycleEventName
- The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
-
getLifecycleEventName
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
- Returns:
- The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
-
withLifecycleEventName
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
- Parameters:
lifecycleEventName
- The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDiagnostics
Diagnostic information about the deployment lifecycle event.
- Parameters:
diagnostics
- Diagnostic information about the deployment lifecycle event.
-
getDiagnostics
Diagnostic information about the deployment lifecycle event.
- Returns:
- Diagnostic information about the deployment lifecycle event.
-
withDiagnostics
Diagnostic information about the deployment lifecycle event.
- Parameters:
diagnostics
- Diagnostic information about the deployment lifecycle event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartTime
A timestamp indicating when the deployment lifecycle event started.
- Parameters:
startTime
- A timestamp indicating when the deployment lifecycle event started.
-
getStartTime
A timestamp indicating when the deployment lifecycle event started.
- Returns:
- A timestamp indicating when the deployment lifecycle event started.
-
withStartTime
A timestamp indicating when the deployment lifecycle event started.
- Parameters:
startTime
- A timestamp indicating when the deployment lifecycle event started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndTime
A timestamp indicating when the deployment lifecycle event ended.
- Parameters:
endTime
- A timestamp indicating when the deployment lifecycle event ended.
-
getEndTime
A timestamp indicating when the deployment lifecycle event ended.
- Returns:
- A timestamp indicating when the deployment lifecycle event ended.
-
withEndTime
A timestamp indicating when the deployment lifecycle event ended.
- Parameters:
endTime
- A timestamp indicating when the deployment lifecycle event ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- Parameters:
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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- See Also:
-
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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- Returns:
- 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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- See Also:
-
withStatus
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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- Parameters:
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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- Parameters:
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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- See Also:
-
withStatus
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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- Parameters:
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 ran successfully.
- Failed: The deployment lifecycle event has failed.
- Skipped: The deployment lifecycle event has been skipped.
- Unknown: The deployment lifecycle event is unknown.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-