public final class ComponentStatus
extends java.lang.Object
COMPONENT_ACTIVATED, COMPONENT_DOES_NO_EXIST and COMPONENT_NOT_ACTIVATED.| Modifier and Type | Field and Description |
|---|---|
static ComponentStatus |
COMPONENT_ACTIVATED
Status of activated Component.
|
static ComponentStatus |
COMPONENT_DOES_NO_EXIST
Status of non-existant Component.
|
static ComponentStatus |
COMPONENT_NOT_ACTIVATED
Status of non-activated Component.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ComponentStatus(java.lang.String name,
java.lang.String description)
Creates a new status with its name and description.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns the description of the status.
|
java.lang.String |
getName()
Returns the name of the status.
|
java.lang.String |
toString()
Returns a single-line rendition of this instance into text.
|
public static final ComponentStatus COMPONENT_ACTIVATED
public static final ComponentStatus COMPONENT_DOES_NO_EXIST
public static final ComponentStatus COMPONENT_NOT_ACTIVATED
protected ComponentStatus(java.lang.String name,
java.lang.String description)
protected to deny creation of unsupported statusesname - name of the status, non-nulldescription - description of the status, non-nullpublic java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String toString()
toString in class java.lang.Object