public enum Result extends Enum<Result>
Enum Constant and Description |
---|
ABSTAIN
Indicates that a plugin does not handle a particular type of request.
|
ALLOWED
The request is allowed.
|
DEFER
A plugin instance cannot make a decision on a request it is able to handle,
and another instance of the plugin should be checked.
|
DENIED
The request is denied.
|
Modifier and Type | Method and Description |
---|---|
static Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result ALLOWED
public static final Result DENIED
public static final Result ABSTAIN
public static final Result DEFER
public static Result[] values()
for (Result c : Result.values()) System.out.println(c);
public static Result 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 nullCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.