|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EnumAccessType>
org.opends.server.authorization.dseecompat.EnumAccessType
public enum EnumAccessType
This class provides an enumeration of the two access types (allow, deny).
Enum Constant Summary | |
---|---|
ALLOW
Allow access type. |
|
DENY
Deny access type. |
Method Summary | |
---|---|
static EnumAccessType |
decode(java.lang.String type)
Decodes an access type enumeration from a string passed into the method. |
boolean |
isAccessType(java.lang.String type)
Checks if the access type is equal to the string representation passed in. |
static EnumAccessType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EnumAccessType[] |
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 |
---|
public static final EnumAccessType ALLOW
public static final EnumAccessType DENY
Method Detail |
---|
public static EnumAccessType[] values()
for (EnumAccessType c : EnumAccessType.values()) System.out.println(c);
public static EnumAccessType 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 name
java.lang.NullPointerException
- if the argument is nullpublic boolean isAccessType(java.lang.String type)
type
- The string representation of the access type.
public static EnumAccessType decode(java.lang.String type)
type
- The string representation of the access type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |