Impl
- the task typepublic static class DepsAwareTask.DepsSupplier<Impl> extends Object
The prereqSupplier
is a supplier that returns a set of tasks necessary to compute
depsSupplier
. The depsSupplier
is a supplier that returns the dependencies.
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<Impl> |
get() |
com.google.common.collect.ImmutableSet<Impl> |
getPrereq() |
static <U> DepsAwareTask.DepsSupplier<U> |
of() |
static <U> DepsAwareTask.DepsSupplier<U> |
of(ThrowingSupplier<com.google.common.collect.ImmutableSet<U>,Exception> prereqSupplier,
ThrowingSupplier<com.google.common.collect.ImmutableSet<U>,Exception> depSupplier) |
public static <U> DepsAwareTask.DepsSupplier<U> of()
DepsAwareTask.DepsSupplier
with no dependenciespublic static <U> DepsAwareTask.DepsSupplier<U> of(ThrowingSupplier<com.google.common.collect.ImmutableSet<U>,Exception> prereqSupplier, ThrowingSupplier<com.google.common.collect.ImmutableSet<U>,Exception> depSupplier)
DepsAwareTask.DepsSupplier
, where prereqSupplier
is the initial
dependency computation, and depSupplier
is the dependency computation that occurs
after the tasks from the initial dependency computation are complete.