public class TargetNodeMaybeIncompatible extends Object
Modifier and Type | Method and Description |
---|---|
TargetNode<?> |
assertGetTargetNode(DependencyStack dependencyStack) |
BuildTarget |
getBuildTarget() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith() |
Optional<TargetNode<?>> |
getTargetNodeOptional() |
static TargetNodeMaybeIncompatible |
ofCompatible(TargetNode<?> targetNode)
Constructor to create object for a compatible target node.
|
static TargetNodeMaybeIncompatible |
ofIncompatible(BuildTarget target,
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> compatibleWith)
Constructor to create object for a target node which was incompatible.
|
public static TargetNodeMaybeIncompatible ofIncompatible(BuildTarget target, com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> compatibleWith)
public static TargetNodeMaybeIncompatible ofCompatible(TargetNode<?> targetNode)
public TargetNode<?> assertGetTargetNode(DependencyStack dependencyStack)
public Optional<TargetNode<?>> getTargetNodeOptional()
public BuildTarget getBuildTarget()
public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()