public class MergedTargetNode extends Object implements Comparable<MergedTargetNode>
This utility exists to support legacy configured buck query
, and should not be used
for anything else.
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MergedTargetNode that) |
TargetNode<?> |
getAnyNode() |
UnflavoredBuildTarget |
getBuildTarget() |
com.google.common.collect.ImmutableList<TargetNode<?>> |
getNodes() |
RuleType |
getRuleType() |
com.google.common.collect.ImmutableSet<TargetConfiguration> |
getTargetConfigurations() |
static com.google.common.collect.ImmutableMap<UnflavoredBuildTarget,MergedTargetNode> |
group(Collection<TargetNode<?>> targetNodes)
Group targets by unflavored target.
|
String |
toString() |
public com.google.common.collect.ImmutableList<TargetNode<?>> getNodes()
public TargetNode<?> getAnyNode()
public UnflavoredBuildTarget getBuildTarget()
public RuleType getRuleType()
public static com.google.common.collect.ImmutableMap<UnflavoredBuildTarget,MergedTargetNode> group(Collection<TargetNode<?>> targetNodes)
public com.google.common.collect.ImmutableSet<TargetConfiguration> getTargetConfigurations()
public int compareTo(MergedTargetNode that)
compareTo
in interface Comparable<MergedTargetNode>