Package | Description |
---|---|
com.softwareag.mobile.runtime.toolkit.operations.queue.conditional |
Modifier and Type | Class and Description |
---|---|
class |
BasicCondition
A simple condition based on one specific resultCode.
|
class |
RangeCondition
This condition is true if the resultCode is within a defined range.
|
Modifier and Type | Field and Description |
---|---|
static Condition |
Condition.ALWAYS
returns
true always, even if an exception is thrown |
static Condition |
Condition.FAILED
|
static Condition |
Condition.SUCCESSFUL
returns
true for all resultCodes that mark a request as
successful, e.g. |
static Condition |
Condition.UNSUCCESSFUL
returns the opposite of
SUCCESSFUL returns false for all resultCodes that mark a request as
successful, e.g. |
Modifier and Type | Method and Description |
---|---|
void |
ConditionalOperation.addOperation(Condition condition,
IOperation operation)
Add a operation that will be executed if the given condition is true.
|