public abstract class TaskOutput<T,S> extends Object implements TaskContext<T,S>
Task
. If the output already exists,
then the existing value is used and the task is not evaluated.Constructor and Description |
---|
TaskOutput() |
Modifier and Type | Method and Description |
---|---|
Optional<S> |
lookup(Task<S> task)
Perform a lookup of the value this task would have produced if it ran.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onFail, onSuccess, preRun, provide
public Optional<S> lookup(Task<S> task)
task
- a task with a TaskOutput
to lookup a value forTaskOutput
(e.g. from a previous run)Copyright © 2020. All rights reserved.