public interface ComputationEnvironment
GraphComputation can access. This class provides the
execution context for the GraphComputation, such as the dependencies required for this
transformation.| Modifier and Type | Method and Description |
|---|---|
<KeyType extends ComputeKey<ResultType>,ResultType extends ComputeResult> |
getDep(KeyType key) |
com.google.common.collect.ImmutableMap<? extends ComputeKey<?>,? extends ComputeResult> |
getDeps() |
<KeyType extends ComputeKey<ResultType>,ResultType extends ComputeResult> |
getDeps(ComputationIdentifier<ResultType> identifier) |
com.google.common.collect.ImmutableMap<? extends ComputeKey<?>,? extends ComputeResult> getDeps()
GraphComputation.discoverDeps(Key, com.facebook.buck.core.graph.transformation.ComputationEnvironment)<KeyType extends ComputeKey<ResultType>,ResultType extends ComputeResult> ResultType getDep(KeyType key)
KeyType - the type of the keyResultType - the corresponding result typekey - the key requested<KeyType extends ComputeKey<ResultType>,ResultType extends ComputeResult> com.google.common.collect.ImmutableMap<KeyType,ResultType> getDeps(ComputationIdentifier<ResultType> identifier)
KeyType - the type of the keyResultType - the corresponding result typeidentifier - the identifier of the keys