Modifier and Type | Interface and Description |
---|---|
interface |
TaskChainNullAction<A1,A2,A3>
Deprecated.
Use
TaskChainAbortAction instead |
Modifier and Type | Method and Description |
---|---|
TaskChain<T> |
TaskChain.abortIf(Predicate<T> predicate,
TaskChainAbortAction<?,?,?> action)
|
<A1> TaskChain<T> |
TaskChain.abortIf(Predicate<T> predicate,
TaskChainAbortAction<A1,?,?> action,
A1 arg1)
|
<A1,A2> TaskChain<T> |
TaskChain.abortIf(Predicate<T> predicate,
TaskChainAbortAction<A1,A2,?> action,
A1 arg1,
A2 arg2)
|
<A1,A2,A3> TaskChain<T> |
TaskChain.abortIf(Predicate<T> predicate,
TaskChainAbortAction<A1,A2,A3> action,
A1 arg1,
A2 arg2,
A3 arg3)
Checks if the previous task return matches the supplied predicate, and aborts if it was.
|
TaskChain<T> |
TaskChain.abortIf(T ifObj,
TaskChainAbortAction<?,?,?> action)
|
<A1> TaskChain<T> |
TaskChain.abortIf(T ifObj,
TaskChainAbortAction<A1,?,?> action,
A1 arg1)
|
<A1,A2> TaskChain<T> |
TaskChain.abortIf(T ifObj,
TaskChainAbortAction<A1,A2,?> action,
A1 arg1,
A2 arg2)
|
<A1,A2,A3> TaskChain<T> |
TaskChain.abortIf(T ifObj,
TaskChainAbortAction<A1,A2,A3> action,
A1 arg1,
A2 arg2,
A3 arg3)
|
TaskChain<T> |
TaskChain.abortIfNot(Predicate<T> ifNotPredicate,
TaskChainAbortAction<?,?,?> action)
|
<A1> TaskChain<T> |
TaskChain.abortIfNot(Predicate<T> ifNotPredicate,
TaskChainAbortAction<A1,?,?> action,
A1 arg1)
|
<A1,A2> TaskChain<T> |
TaskChain.abortIfNot(Predicate<T> ifNotPredicate,
TaskChainAbortAction<A1,A2,?> action,
A1 arg1,
A2 arg2)
|
<A1,A2,A3> TaskChain<T> |
TaskChain.abortIfNot(Predicate<T> ifNotPredicate,
TaskChainAbortAction<A1,A2,A3> action,
A1 arg1,
A2 arg2,
A3 arg3)
Checks if the previous task return does NOT match the supplied predicate, and aborts if it does not match.
|
TaskChain<T> |
TaskChain.abortIfNot(T ifNotObj,
TaskChainAbortAction<?,?,?> action)
|
<A1> TaskChain<T> |
TaskChain.abortIfNot(T ifNotObj,
TaskChainAbortAction<A1,?,?> action,
A1 arg1)
|
<A1,A2> TaskChain<T> |
TaskChain.abortIfNot(T ifNotObj,
TaskChainAbortAction<A1,A2,?> action,
A1 arg1,
A2 arg2)
|
<A1,A2,A3> TaskChain<T> |
TaskChain.abortIfNot(T ifNotObj,
TaskChainAbortAction<A1,A2,A3> action,
A1 arg1,
A2 arg2,
A3 arg3)
|
TaskChain<T> |
TaskChain.abortIfNull(TaskChainAbortAction<?,?,?> action)
|
<A1> TaskChain<T> |
TaskChain.abortIfNull(TaskChainAbortAction<A1,?,?> action,
A1 arg1)
|
<A1,A2> TaskChain<T> |
TaskChain.abortIfNull(TaskChainAbortAction<A1,A2,?> action,
A1 arg1,
A2 arg2)
|
<A1,A2,A3> TaskChain<T> |
TaskChain.abortIfNull(TaskChainAbortAction<A1,A2,A3> action,
A1 arg1,
A2 arg2,
A3 arg3)
Checks if the previous task return was null, and aborts if it was
Then executes supplied action handler
If not null, the previous task return will forward to the next task.
|
Copyright © 2018. All rights reserved.