public class DefaultTargetNodeToBuildRuleTransformer extends Object implements TargetNodeToBuildRuleTransformer
TargetNode
from the target graph and builds a BuildRule
.Constructor and Description |
---|
DefaultTargetNodeToBuildRuleTransformer() |
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, wait
transform
public DefaultTargetNodeToBuildRuleTransformer()
public <T extends BuildRuleArg> BuildRule transform(ToolchainProvider toolchainProvider, TargetGraph targetGraph, ConfigurationRuleRegistry configurationRuleRegistry, ActionGraphBuilder graphBuilder, TargetNode<T> targetNode, ProviderInfoCollection providerInfoCollection, CellPathResolver cellPathResolver)
TargetNodeToBuildRuleTransformer
TargetNode
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 BuildRule
transform
in interface TargetNodeToBuildRuleTransformer