com.sas.hls.work.workitem
Enum WorkItem.Status

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

public static enum WorkItem.Status
extends Enum<WorkItem.Status>

Status is an enum representing the status of the work item.


Enum Constant Summary
COMPLETED
          If COMPLETED, the work item is completed.
NOT_STARTED
          If NOT_STARTED, the work item is not started.
STARTED
          If STARTED, the work item is started.
STOPPED
          If STOPPED, the work item is not stopped.
 
Method Summary
static WorkItem.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WorkItem.Status[] 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

NOT_STARTED

public static final WorkItem.Status NOT_STARTED
If NOT_STARTED, the work item is not started.


STARTED

public static final WorkItem.Status STARTED
If STARTED, the work item is started.


STOPPED

public static final WorkItem.Status STOPPED
If STOPPED, the work item is not stopped.


COMPLETED

public static final WorkItem.Status COMPLETED
If COMPLETED, the work item is completed.

Method Detail

values

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

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

valueOf

public static WorkItem.Status 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