@InterfaceAudience.Private public enum JobACL extends Enum<JobACL>
Enum Constant and Description |
---|
MODIFY_JOB
ACL for 'modifying' job.
|
VIEW_JOB
ACL for 'viewing' job.
|
Modifier and Type | Method and Description |
---|---|
String |
getAclName()
Get the name of the ACL.
|
static JobACL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobACL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobACL VIEW_JOB
public static final JobACL MODIFY_JOB
public static JobACL[] values()
for (JobACL c : JobACL.values()) System.out.println(c);
public static JobACL 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 String getAclName()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.