Class ExecuteFutureActionOperation<T>
- java.lang.Object
-
- org.flowable.common.engine.impl.agenda.ExecuteFutureActionOperation<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected BiConsumer<T,Throwable>actionprotected CompletableFuture<T>future
-
Constructor Summary
Constructors Constructor Description ExecuteFutureActionOperation(CompletableFuture<T> future, BiConsumer<T,Throwable> action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BiConsumer<T,Throwable>getAction()CompletableFuture<T>getFuture()booleanisDone()voidrun()
-
-
-
Field Detail
-
future
protected final CompletableFuture<T> future
-
action
protected final BiConsumer<T,Throwable> action
-
-
Constructor Detail
-
ExecuteFutureActionOperation
public ExecuteFutureActionOperation(CompletableFuture<T> future, BiConsumer<T,Throwable> action)
-
-
Method Detail
-
isDone
public boolean isDone()
-
getFuture
public CompletableFuture<T> getFuture()
-
getAction
public BiConsumer<T,Throwable> getAction()
-
-