public enum AppraisalState extends java.lang.Enum<AppraisalState>
Enum Constant and Description |
---|
CLOSED
An Appraisal closed doesn't allow employees interact and the administartor
has access to reports.
|
IN_DEVELOPMENT
In-development state.
|
OPENED
In opened state the employees can interact with the appraisal.
|
Modifier and Type | Method and Description |
---|---|
static AppraisalState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AppraisalState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppraisalState IN_DEVELOPMENT
public static final AppraisalState OPENED
public static final AppraisalState CLOSED
public static AppraisalState[] values()
for (AppraisalState c : AppraisalState.values()) System.out.println(c);
public static AppraisalState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null