| Modifier and Type | Field and Description |
|---|---|
| public static final DecisionStrategy | AFFIRMATIVE
Defines that at least one policy must evaluate to a positive decision in order to the overall decision be also positive. |
| private static final Map | |
| public static final DecisionStrategy | CONSENSUS
Defines that the number of positive decisions must be greater than the number of negative decisions. |
| private final int | |
| public static final DecisionStrategy | UNANIMOUS
Defines that all policies must evaluate to a positive decision in order to the overall decision be also positive. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static DecisionStrategy | |
| public static DecisionStrategy | |
| public static DecisionStrategy[] |
| AFFIRMATIVE | back to summary |
|---|---|
| public static final DecisionStrategy AFFIRMATIVE Defines that at least one policy must evaluate to a positive decision in order to the overall decision be also positive. | |
| BY_ID | back to summary |
|---|---|
| private static final Map<Integer, DecisionStrategy> BY_ID | |
| CONSENSUS | back to summary |
|---|---|
| public static final DecisionStrategy CONSENSUS Defines that the number of positive decisions must be greater than the number of negative decisions. If the number of positive and negative is the same, the final decision will be negative. | |
| stableIndex | back to summary |
|---|---|
| private final int stableIndex | |
| UNANIMOUS | back to summary |
|---|---|
| public static final DecisionStrategy UNANIMOUS Defines that all policies must evaluate to a positive decision in order to the overall decision be also positive. | |
| DecisionStrategy | back to summary |
|---|---|
| private DecisionStrategy(int stableIndex) | |
| getStableIndex | back to summary |
|---|---|
| public int getStableIndex() Implements org.
| |
| valueOf | back to summary |
|---|---|
| public static DecisionStrategy valueOf(String name) | |
| valueOfInteger | back to summary |
|---|---|
| public static DecisionStrategy valueOfInteger(Integer id) | |
| values | back to summary |
|---|---|
| public static DecisionStrategy[] values() | |