public enum EnumAccessType extends Enum<EnumAccessType>
Enum Constant and Description |
---|
ALLOW
Allow access type.
|
DENY
Deny access type.
|
Modifier and Type | Method and Description |
---|---|
static EnumAccessType |
decode(String type)
Decodes an access type enumeration from a string passed into the method.
|
boolean |
isAccessType(String type)
Checks if the access type is equal to the string
representation passed in.
|
static EnumAccessType |
valueOf(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.
|
public static final EnumAccessType ALLOW
public static final EnumAccessType DENY
public static EnumAccessType[] values()
for (EnumAccessType c : EnumAccessType.values()) System.out.println(c);
public static EnumAccessType 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 boolean isAccessType(String type)
type
- The string representation of the access type.public static EnumAccessType decode(String type)
type
- The string representation of the access type.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.