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

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

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

ActivityType is an enum representing the activity type of the task.


Enum Constant Summary
OTHER
          If OTHER, it is neither system task nor user task.
SYSTEM_JOB_EXEC
          If SYSTEM_JOB_EXEC, the task executes a job.
SYSTEM_NOTIFICATION
          If SYSTEM_JOB_EXEC, the task sends a system notification.
USER_TASK
          If USER_TASK, the task is acted on by the user.
 
Method Summary
static Task.ActivityType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Task.ActivityType[] 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

SYSTEM_JOB_EXEC

public static final Task.ActivityType SYSTEM_JOB_EXEC
If SYSTEM_JOB_EXEC, the task executes a job.


SYSTEM_NOTIFICATION

public static final Task.ActivityType SYSTEM_NOTIFICATION
If SYSTEM_JOB_EXEC, the task sends a system notification.


USER_TASK

public static final Task.ActivityType USER_TASK
If USER_TASK, the task is acted on by the user.


OTHER

public static final Task.ActivityType OTHER
If OTHER, it is neither system task nor user task.

Method Detail

values

public static Task.ActivityType[] 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.ActivityType c : Task.ActivityType.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.ActivityType 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) 2014, SAS Institute Inc., Cary, NC, USA