Class GetExistingAnswerTask
java.lang.Object
ch.tocco.nice2.optional.evaluation.impl.flow.GetExistingAnswerTask
- All Implemented Interfaces:
OptionalTask<Tuple2<Entity,
,Entity>, Entity> PersistTask<Tuple2<Entity,
Entity>, Entity>
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
GetExistingAnswerTask
public GetExistingAnswerTask()
-
-
Method Details
-
doRun
public Entity doRun(Tuple2<Entity, Entity> tuple, CommandContext commandContext) throws InterruptedException- Specified by:
doRun
in interfaceOptionalTask<Tuple2<Entity,
Entity>, Entity> - Throws:
InterruptedException
-