Serializable, Comparable<Rule.Action>public static enum Rule.Action extends Enum<Rule.Action>
| Enum Constant | Description |
|---|---|
ALLOW |
Permit inclusion
|
DISALLOW |
Deny inclusion
|
| Modifier and Type | Method | Description |
|---|---|---|
static Rule.Action |
negate(Rule.Action action) |
Retrieves the negated value of the supplied action.
|
static Rule.Action |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Rule.Action[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.Action ALLOW
Permit inclusion
Indicates that the value to which this rule is attached may be included in the final result.
public static final Rule.Action DISALLOW
Deny inclusion
Indicates that the value to which this rule is attached may NOT be included in the final result.
public static Rule.Action[] values()
for (Rule.Action c : Rule.Action.values()) System.out.println(c);
public static Rule.Action 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 null@NonNull public static Rule.Action negate(@NonNull Rule.Action action)
action - an action.Copyright © 2018 Basin. All rights reserved.