Conditional |
Conditional.onFalse(Runnable actionOnFalse) |
Submits an action to this conditional and bounds it to a false value.
|
static void |
Conditional.onFalseExecute(boolean conditionThatMustBeFalse,
Runnable actionToExecute) |
Executes the submitted action if the passed boolean value is false.
|
static <X extends Exception> void |
Conditional.onFalseExecute(boolean conditionThatMustBeFalse,
Runnable actionToExecute,
Class<X> expectedException) |
Executes the submitted action if the passed boolean value is false.
|
Conditional |
Conditional.onTrue(Runnable actionOnTrue) |
Submits an action to this conditional and bounds it to a true value.
|
static void |
Conditional.onTrueExecute(boolean conditionThatMustBeTrue,
Runnable actionToExecute) |
Executes the submitted action if the passed boolean value is true.
|
static <X extends Exception> void |
Conditional.onTrueExecute(boolean conditionThatMustBeTrue,
Runnable actionToExecute,
Class<X> expectedException) |
Executes the submitted action if the passed boolean value is true.
|