com.sas.hls.work.workitem
Enum Task.TaskStatus

java.lang.Object
  extended by java.lang.Enum<Task.TaskStatus>
      extended by com.sas.hls.work.workitem.Task.TaskStatus
All Implemented Interfaces:
Serializable, Comparable<Task.TaskStatus>
Enclosing class:
Task

public static enum Task.TaskStatus
extends Enum<Task.TaskStatus>

TaskStatus is an enum representing the status of the task.


Enum Constant Summary
ASSIGNED
          If ASSIGNED, the task is assigned.
CLAIMED
          If CLAIMED, the task is claimed.
COMPLETED
          If STARTED, the task is completed.
STARTED
          If STARTED, the task is claimed.
UNASSIGNED
          If UNASSIGNED, the task is not assigned.
UNCLAIMED
          If UNCLAIMED, the task is unclaimed.
 
Method Summary
static Task.TaskStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Task.TaskStatus[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNASSIGNED

public static final Task.TaskStatus UNASSIGNED
If UNASSIGNED, the task is not assigned.


ASSIGNED

public static final Task.TaskStatus ASSIGNED
If ASSIGNED, the task is assigned.


UNCLAIMED

public static final Task.TaskStatus UNCLAIMED
If UNCLAIMED, the task is unclaimed.


CLAIMED

public static final Task.TaskStatus CLAIMED
If CLAIMED, the task is claimed.


STARTED

public static final Task.TaskStatus STARTED
If STARTED, the task is claimed.


COMPLETED

public static final Task.TaskStatus COMPLETED
If STARTED, the task is completed.

Method Detail

values

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

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

valueOf

public static Task.TaskStatus 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
NullPointerException - if the argument is null


Copyright (c) 2013, SAS Institute Inc., Cary, NC, USA