Enum Class ProjectStatus
- All Implemented Interfaces:
Serializable
,Comparable<ProjectStatus>
,Constable
ProjectStatus lists suggested status values for a project.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe project is currently being worked on by the project team.Work on the project will not continue despite incomplete deliverables.Work on the project has finished, and all deliverables have either been completed, abandoned or moved to a different project.The project has just been created.The project has not finished, and work on the project has been temporarily suspended. -
Method Summary
Modifier and TypeMethodDescriptionReturn the category for this value.Return the description for this value.getName()
Return the name of the value.Return the qualified name for this value.toString()
Output of this enum class and main value.static ProjectStatus
Returns the enum constant of this class with the specified name.static ProjectStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
The project has just been created. -
ACTIVE
The project is currently being worked on by the project team. -
COMPLETED
Work on the project has finished, and all deliverables have either been completed, abandoned or moved to a different project. -
CANCELLED
Work on the project will not continue despite incomplete deliverables. This may be due to a change in direction or a road block that is preventing further progress. -
ON_HOLD
The project has not finished, and work on the project has been temporarily suspended.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Return the name of the value.- Returns:
- string
-
getDescription
Return the description for this value.- Returns:
- string
-
getQualifiedName
Return the qualified name for this value.- Returns:
- string
-
getCategory
Return the category for this value.- Returns:
- string
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<ProjectStatus>
- Returns:
- string showing enum value
-