public static enum Policy.DecisionStrategy extends Enum<Policy.DecisionStrategy>
| Enum Constant and Description |
|---|
AFFIRMATIVE
Defines that at least one policy must evaluate to a positive decision in order to the overall decision be also positive.
|
CONSENSUS
Defines that the number of positive decisions must be greater than the number of negative decisions.
|
UNANIMOUS
Defines that all policies must evaluate to a positive decision in order to the overall decision be also positive.
|
| Modifier and Type | Method and Description |
|---|---|
static Policy.DecisionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Policy.DecisionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Policy.DecisionStrategy AFFIRMATIVE
public static final Policy.DecisionStrategy UNANIMOUS
public static final Policy.DecisionStrategy CONSENSUS
public static Policy.DecisionStrategy[] values()
for (Policy.DecisionStrategy c : Policy.DecisionStrategy.values()) System.out.println(c);
public static Policy.DecisionStrategy 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 © 2016 JBoss by Red Hat. All rights reserved.