|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PepResponseFactory.Behavior>
org.openliberty.openaz.pep.PepResponseFactory.Behavior
public static enum PepResponseFactory.Behavior
An enum containing an enumerated list of behavior options.
Enum Constant Summary | |
---|---|
RETURN_NO
The behavior is to disallow (Deny) access by returning false when the condition for which this behavior is assigned occurs |
|
RETURN_YES
The behavior is to allow (Permit) access by returning true when the condition for which this behavior is assigned occurs |
|
THROW_EXCEPTION
The behavior is to disallow (Deny) access by throwing a PepException when the condition for which this behavior is assigned occurs |
Method Summary | |
---|---|
static PepResponseFactory.Behavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PepResponseFactory.Behavior[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 PepResponseFactory.Behavior RETURN_YES
public static final PepResponseFactory.Behavior RETURN_NO
public static final PepResponseFactory.Behavior THROW_EXCEPTION
Method Detail |
---|
public static PepResponseFactory.Behavior[] values()
for (PepResponseFactory.Behavior c : PepResponseFactory.Behavior.values()) System.out.println(c);
public static PepResponseFactory.Behavior 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 null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |