bibliothek.util
Enum Todo.Priority

java.lang.Object
  extended by java.lang.Enum<Todo.Priority>
      extended by bibliothek.util.Todo.Priority
All Implemented Interfaces:
Serializable, Comparable<Todo.Priority>
Enclosing class:
Todo

public static enum Todo.Priority
extends Enum<Todo.Priority>

Tells how important an Todo is


Enum Constant Summary
BUG
          The highest priority, bugs are to be repaired as soon as possible
ENHANCEMENT
          An enhancement with zero importance
MAJOR
          An important enhancement that will ease the use of the framework considerably, also an enhancement that will require some time to complete
MINOR
          An enhancement of lesser importance, but will not require much time to implement
 
Method Summary
static Todo.Priority valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Todo.Priority[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BUG

public static final Todo.Priority BUG
The highest priority, bugs are to be repaired as soon as possible


MAJOR

public static final Todo.Priority MAJOR
An important enhancement that will ease the use of the framework considerably, also an enhancement that will require some time to complete


MINOR

public static final Todo.Priority MINOR
An enhancement of lesser importance, but will not require much time to implement


ENHANCEMENT

public static final Todo.Priority ENHANCEMENT
An enhancement with zero importance

Method Detail

values

public static final Todo.Priority[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Todo.Priority c : Todo.Priority.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Todo.Priority valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name