public final class StatusHolder
extends java.lang.Object
| Constructor and Description |
|---|
StatusHolder()
Constructs a new
StatusHolder object with its
status field initialized to null. |
StatusHolder(ComponentStatus status)
Constructs a new
StatusHolder object with its
status field initialized to the given
ComponentStatus. |
| Modifier and Type | Method and Description |
|---|---|
ComponentStatus |
getStatus()
Returns the status.
|
void |
setStatus(ComponentStatus status)
Sets the status.
|
public StatusHolder()
StatusHolder object with its
status field initialized to null.public StatusHolder(ComponentStatus status)
StatusHolder object with its
status field initialized to the given
ComponentStatus.initial - the ComponentStatus with which to initialize
the status field of the newly-created
StatusHolder objectpublic ComponentStatus getStatus()
public void setStatus(ComponentStatus status)
status - The status to set