public enum DecisionStrategy extends Enum<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 DecisionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecisionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecisionStrategy AFFIRMATIVE
public static final DecisionStrategy UNANIMOUS
public static final DecisionStrategy CONSENSUS
public static DecisionStrategy[] values()
for (DecisionStrategy c : DecisionStrategy.values()) System.out.println(c);
public static 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 © 2019 JBoss by Red Hat. All rights reserved.