@InterfaceAudience.Private public enum Operation extends Enum<Operation>
| Enum Constant and Description | 
|---|
| FAIL_TASK | 
| KILL_JOB | 
| KILL_TASK | 
| SET_JOB_PRIORITY | 
| SUBMIT_JOB | 
| VIEW_JOB_COUNTERS | 
| VIEW_JOB_DETAILS | 
| VIEW_TASK_LOGS | 
| Modifier and Type | Method and Description | 
|---|---|
| JobACL | getJobACLNeeded() | 
| QueueACL | getqACLNeeded() | 
| static Operation | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Operation[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Operation VIEW_JOB_COUNTERS
public static final Operation VIEW_JOB_DETAILS
public static final Operation VIEW_TASK_LOGS
public static final Operation KILL_JOB
public static final Operation FAIL_TASK
public static final Operation KILL_TASK
public static final Operation SET_JOB_PRIORITY
public static final Operation SUBMIT_JOB
public static Operation[] values()
for (Operation c : Operation.values()) System.out.println(c);
public static Operation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic QueueACL getqACLNeeded()
public JobACL getJobACLNeeded()
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.