|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Priority> de.smartics.sandbox.agile.Priority
public enum Priority
The valid priority values for user stories.
Only required
, very important
are items that are necessary to be implemented.
Enum Constant Summary | |
---|---|
DISPENSABLE The story is not necessary to be part of the release, but may be included if resources are available. |
|
NICE_TO_HAVE The story is a nice-to-have for the final product, but not relevant for the release. |
|
POLISHING The story would add to the user experience of the user, but is not relevant for the release. |
|
REQUIRED The story is required for the final product. |
|
VERY_IMPORTANT The story is very important for the final product. |
Method Summary | |
---|---|
static Priority |
fromString(String valueAsString) Parses the string representation of a priority instance. |
String |
getId() Returns the identifier of the priority. |
int |
getPriorityValue() Returns the value of the priority. |
List<Priority> |
getValues() Returns the priority values as a list. |
String |
toString() |
static String |
toString(Locale locale) Returns the string representation of the instance for the given locale. |
static Priority |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static Priority[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Priority REQUIRED
This and VERY_IMPORTANT
are items necessary to be implemented.
public static final Priority VERY_IMPORTANT
This and REQUIRED
are items necessary to be implemented.
public static final Priority NICE_TO_HAVE
public static final Priority POLISHING
public static final Priority DISPENSABLE
The priority is available to keep stories in the product backlog for further references.
Method Detail |
---|
public static Priority[] values()
for (Priority c : Priority.values()) System.out.println(c);
public static Priority valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
public String getId()
public int getPriorityValue()
public List<Priority> getValues()
public static Priority fromString(String valueAsString) throws IllegalArgumentException
IllegalArgumentException
- if
valueAsString
is not a valid string representation of a priority value.
public static String toString(Locale locale)
locale
- the locale for which the string representation is requested.
public String toString()
toString
in class
Enum<Priority>
Enum.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |