Package | Description |
---|---|
com.massa.mrules.executable |
Modifier and Type | Method and Description |
---|---|
abstract ExecutionResultState |
ExecutionResultState.combineActionState(ExecutionResultState s)
Combine current state with sub-state, for action results :
XX + NA --> XX
NA + XX --> XX
PARTIAL + XX --> PARTIAL
OK + OK --> OK
OK + PARTIAL --> PARTIAL
OK + KO --> PARTIAL
KO + OK --> PARTIAL
KO + PARTIAL --> PARTIAL
KO + KO --> KO
|
ExecutionResultState |
ExecutionResultState.combineConditionState(ExecutionResultState s)
Combine current state with sub-state, for condition results :
NA + XX --> XX
OK + XX --> OK
KO + OK --> OK
KO + !
|
ExecutionResultState |
ExecutionResultWrapper.getActionValidated() |
ExecutionResultState |
IExecutionResult.getActionValidated()
If this executable contains sub-executables, returns
OK if they are correctly executed. |
ExecutionResultState |
ExecutionResultWrapper.getConditionValidated() |
ExecutionResultState |
IExecutionResult.getConditionValidated()
|
static ExecutionResultState |
ExecutionResultState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionResultState[] |
ExecutionResultState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract ExecutionResultState |
ExecutionResultState.combineActionState(ExecutionResultState s)
Combine current state with sub-state, for action results :
XX + NA --> XX
NA + XX --> XX
PARTIAL + XX --> PARTIAL
OK + OK --> OK
OK + PARTIAL --> PARTIAL
OK + KO --> PARTIAL
KO + OK --> PARTIAL
KO + PARTIAL --> PARTIAL
KO + KO --> KO
|
ExecutionResultState |
ExecutionResultState.combineConditionState(ExecutionResultState s)
Combine current state with sub-state, for condition results :
NA + XX --> XX
OK + XX --> OK
KO + OK --> OK
KO + !
|
IExecutionResult |
ExecutionResultState.getForCondition(ExecutionResultState conditionResult)
Considering current enum value is Action result,
returns a result for [condition: conditionResult / action: Current Enum Value]
|