org.eclipse.mylar.tasks.core
Enum Task.PriorityLevel

java.lang.Object
  extended by java.lang.Enum<Task.PriorityLevel>
      extended by org.eclipse.mylar.tasks.core.Task.PriorityLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Task.PriorityLevel>
Enclosing class:
Task

public static enum Task.PriorityLevel
extends java.lang.Enum<Task.PriorityLevel>


Enum Constant Summary
P1
           
P2
           
P3
           
P4
           
P5
           
 
Method Summary
static Task.PriorityLevel fromDescription(java.lang.String string)
           
static Task.PriorityLevel fromString(java.lang.String string)
           
 java.lang.String getDescription()
           
 java.lang.String toString()
           
static Task.PriorityLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Task.PriorityLevel[] 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, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

P1

public static final Task.PriorityLevel P1

P2

public static final Task.PriorityLevel P2

P3

public static final Task.PriorityLevel P3

P4

public static final Task.PriorityLevel P4

P5

public static final Task.PriorityLevel P5
Method Detail

values

public static final Task.PriorityLevel[] 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(Task.PriorityLevel c : Task.PriorityLevel.values())
        System.out.println(c);

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

valueOf

public static Task.PriorityLevel valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Task.PriorityLevel>

getDescription

public java.lang.String getDescription()

fromString

public static Task.PriorityLevel fromString(java.lang.String string)

fromDescription

public static Task.PriorityLevel fromDescription(java.lang.String string)