static Conditional |
Conditional.conditional(boolean describedValue) |
Returns a new instance of a Conditional that describes the passed
boolean value ( true or false).
|
Conditional |
Conditional.discardActionsOnFalse() |
Removes all actions submitted to this conditional and bound to a false value.
|
Conditional |
Conditional.discardActionsOnTrue() |
Removes all actions submitted to this conditional and bound to a true value.
|
Conditional |
Conditional.discardAllActions() |
Removes all actions submitted to this conditional.
|
Conditional |
Conditional.execute() |
Executes all submitted actions, bound to the value described by this conditional.
|
Conditional |
Conditional.execute(int cyclesToExecute) |
Executes the specified amount of cycles all submitted actions,
bound to the value described by this conditional.
|
<X extends Exception> Conditional |
Conditional.execute(Class<X> expectedException) |
Executes all submitted actions, bound to the value described by this conditional,
and sets the passed exception class as a unary element of an exception list
belonging to this method declaration (throws... clause).
|
<X1 extends Exception,X2 extends Exception> Conditional |
Conditional.execute(Class<X1> expectedExceptionOne,
Class<X2> expectedExceptionTwo) |
Executes all submitted actions, bound to the value described by this conditional,
and respectively sets the passed exception classes as elements of an exception
list belonging to this method declaration (throws... clause).
|
<X1 extends Exception,X2 extends Exception,X3 extends Exception> Conditional |
Conditional.execute(Class<X1> expectedExceptionOne,
Class<X2> expectedExceptionTwo,
Class<X3> expectedExceptionThree) |
Executes all submitted actions, bound to the value described by this conditional,
and respectively sets the passed exception classes as elements of an exception
list belonging to this method declaration (throws... clause).
|
<X1 extends Exception,X2 extends Exception,X3 extends Exception,X4 extends Exception> Conditional |
Conditional.execute(Class<X1> expectedExceptionOne,
Class<X2> expectedExceptionTwo,
Class<X3> expectedExceptionThree,
Class<X4> expectedExceptionFour) |
Executes all submitted actions, bound to the value described by this conditional,
and respectively sets the passed exception classes as elements of an exception
list belonging to this method declaration (throws... clause).
|
<T> Conditional |
Conditional.onFalse(Action<T> actionOnFalse) |
Submits an action to this conditional and bounds it to a false value.
|
Conditional |
Conditional.onFalse(Runnable actionOnFalse) |
Submits an action to this conditional and bounds it to a false value.
|
<T> Conditional |
Conditional.onFalse(Callable<T> actionOnFalse) |
Submits an action to this conditional and bounds it to a false value.
|
<T extends Exception> Conditional |
Conditional.onFalseThrow(T exceptionToThrow) |
Submits an action to this conditional that throws the passed Exception.
|
<T> Conditional |
Conditional.onTrue(Action<T> actionOnTrue) |
Submits an action to this conditional and bounds it to a true value.
|
Conditional |
Conditional.onTrue(Runnable actionOnTrue) |
Submits an action to this conditional and bounds it to a true value.
|
<T> Conditional |
Conditional.onTrue(Callable<T> actionOnTrue) |
Submits an action to this conditional and bounds it to a true value.
|
<T extends Exception> Conditional |
Conditional.onTrueThrow(T exceptionToThrow) |
Submits an action to this conditional that throws the passed Exception.
|