public class LegacyRuleAnalysisDelegatingTargetNodeToBuildRuleTransformer extends Object implements TargetNodeToBuildRuleTransformer
TargetNodeToBuildRuleTransformer that delegates to the RuleAnalysisGraph when
descriptions of the new type RuleDescription is encountered. A backwards compatible
RuleAnalysisLegacyBuildRuleView is returned for that target.| Modifier and Type | Field and Description |
|---|---|
protected TargetNodeToBuildRuleTransformer |
delegate |
protected RuleAnalysisGraph |
ruleAnalysisComputation |
| Constructor and Description |
|---|
LegacyRuleAnalysisDelegatingTargetNodeToBuildRuleTransformer(RuleAnalysisGraph ruleAnalysisComputation,
TargetNodeToBuildRuleTransformer delegate) |
| Modifier and Type | Method and Description |
|---|---|
<T extends BuildRuleArg> |
transform(ToolchainProvider toolchainProvider,
TargetGraph targetGraph,
ConfigurationRuleRegistry configurationRuleRegistry,
ActionGraphBuilder graphBuilder,
TargetNode<T> targetNode,
ProviderInfoCollection providerInfoCollection,
CellPathResolver cellPathResolver)
Converts a given
TargetNode to a BuildRule as part of action graph
construction. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformprotected final RuleAnalysisGraph ruleAnalysisComputation
protected final TargetNodeToBuildRuleTransformer delegate
public LegacyRuleAnalysisDelegatingTargetNodeToBuildRuleTransformer(RuleAnalysisGraph ruleAnalysisComputation, TargetNodeToBuildRuleTransformer delegate)
public <T extends BuildRuleArg> BuildRule transform(ToolchainProvider toolchainProvider, TargetGraph targetGraph, ConfigurationRuleRegistry configurationRuleRegistry, ActionGraphBuilder graphBuilder, TargetNode<T> targetNode, ProviderInfoCollection providerInfoCollection, CellPathResolver cellPathResolver)
TargetNodeToBuildRuleTransformerTargetNode to a BuildRule as part of action graph
construction. The providers computed from LegacyProviderCompatibleDescription.createProviders(ProviderCreationContext,
BuildTarget, BuildRuleArg) will be passed to this function to be used to construct the BuildRuletransform in interface TargetNodeToBuildRuleTransformer