T- The object describing the parameters to be passed to the
BuildRule. How this is processed is described in the class level javadoc of
public interface DescriptionWithTargetGraph<T extends BuildRuleArg> extends Description<T>
BuildRule, providing mechanisms to expose the arguments that rules derived from the Buildable take and providing a factory for those BuildRules. It is expected that instances of this class are stateless.
|Modifier and Type||Method and Description|
Whether or not the build rule subgraph produced by this
BuildRule createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, T args)
BuildRulefor the given
BuildRuleParams. Note that the
BuildTargetreferred to in the
default boolean producesCacheableSubgraph()
Descriptionis safe to cache in
IncrementalActionGraphGeneratorfor incremental action graph generation.