public static enum TaskCoordinator.RequestScope extends java.lang.Enum<TaskCoordinator.RequestScope>
TaskCoordinator.commit(RequestScope) and
 TaskCoordinator.shutdown(RequestScope). This enum is used to indicate
 whether those requests apply only to the current task, or to all tasks in the
 current container.| Enum Constant and Description | 
|---|
| ALL_TASKS_IN_CONTAINERIndicates that a request applies to all tasks in the current container. | 
| CURRENT_TASKIndicates that a request applies only to the task making the call. | 
| Modifier and Type | Method and Description | 
|---|---|
| static TaskCoordinator.RequestScope | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static TaskCoordinator.RequestScope[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final TaskCoordinator.RequestScope CURRENT_TASK
public static final TaskCoordinator.RequestScope ALL_TASKS_IN_CONTAINER
public static TaskCoordinator.RequestScope[] values()
for (TaskCoordinator.RequestScope c : TaskCoordinator.RequestScope.values()) System.out.println(c);
public static TaskCoordinator.RequestScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null