public class DefaultUnconfiguredTargetNodeFactory extends Object implements UnconfiguredTargetNodeFactory
UnconfiguredTargetNode instances from raw data coming in form the ProjectBuildFileParser.| Constructor and Description |
|---|
DefaultUnconfiguredTargetNodeFactory(KnownRuleTypesProvider knownRuleTypesProvider,
BuiltTargetVerifier builtTargetVerifier,
Cells cells,
SelectorListFactory selectorListFactory,
TypeCoercerFactory typeCoercerFactory) |
| Modifier and Type | Method and Description |
|---|---|
UnconfiguredTargetNode |
create(Cell cell,
Path buildFile,
UnconfiguredBuildTarget target,
DependencyStack dependencyStack,
Map<String,Object> rawAttributes,
Package pkg)
Create new
UnconfiguredTargetNode |
public DefaultUnconfiguredTargetNodeFactory(KnownRuleTypesProvider knownRuleTypesProvider, BuiltTargetVerifier builtTargetVerifier, Cells cells, SelectorListFactory selectorListFactory, TypeCoercerFactory typeCoercerFactory)
public UnconfiguredTargetNode create(Cell cell, Path buildFile, UnconfiguredBuildTarget target, DependencyStack dependencyStack, Map<String,Object> rawAttributes, Package pkg)
UnconfiguredTargetNodeFactoryUnconfiguredTargetNodecreate in interface UnconfiguredTargetNodeFactorycell - object that current build target belongs tobuildFile - An absolute path to a build file that has the corresponding build targettarget - A build target that uniquely identifies created UnconfiguredTargetNoderawAttributes - Raw attributes that forms the node, a Map where a key is attribute name aspkg - Package to apply to this node.