|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ACLAffinity>
com.ace.moab.api.acl.ACLAffinity
public enum ACLAffinity
This enumeration describes the different values available for describing how a rule is used in establishing access to an object in Moab. Currently, these ACL affinities are used only for granting access to reservations.
Enum Constant Summary | |
---|---|
NEGATIVE
Access to the object is repelled using this rule until access is the last choice. |
|
NEUTRAL
Access to the object is not affected by affinity. |
|
POSITIVE
Access to the object is looked at as the first choice. |
|
PREEMPTIBLE
Access to the object given the rule gives preemptible status to the accessor. |
|
REQUIRED
The rule in question must be satisified in order to gain access to the object. |
|
UNAVAILABLE
The rule does not have its affinity available. |
Method Summary | |
---|---|
static ACLAffinity |
parseString(java.lang.String str)
Parses a String and converts it into a corresponding ACLAffinity object. |
static ACLAffinity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ACLAffinity[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ACLAffinity NEGATIVE
public static final ACLAffinity NEUTRAL
public static final ACLAffinity POSITIVE
public static final ACLAffinity PREEMPTIBLE
public static final ACLAffinity REQUIRED
public static final ACLAffinity UNAVAILABLE
Method Detail |
---|
public static final ACLAffinity[] values()
for(ACLAffinity c : ACLAffinity.values()) System.out.println(c);
public static ACLAffinity 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 namepublic static ACLAffinity parseString(java.lang.String str) throws java.text.ParseException
str
- the String to parse.
java.text.ParseException
- thrown if the string does not match any ACLAffinity object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |