public interface Selectable
select
statements.
Such condition is referenced from keys in a select
statement by a BuildTarget
which should point to an instance that implements ProvidesSelectable
which
is used to obtain the Selectable
.
Modifier and Type | Method and Description |
---|---|
BuildTarget |
getBuildTarget() |
boolean |
matches(SelectableConfigurationContext configurationContext,
DependencyStack dependencyStack) |
boolean |
matchesPlatform(Platform platform,
ConstraintResolver constraintResolver,
DependencyStack dependencyStack,
BuckConfig buckConfig) |
boolean |
refines(Selectable other) |
boolean matches(SelectableConfigurationContext configurationContext, DependencyStack dependencyStack)
true
if this condition matches the configurationboolean matchesPlatform(Platform platform, ConstraintResolver constraintResolver, DependencyStack dependencyStack, BuckConfig buckConfig)
true
if this condition matches the platformboolean refines(Selectable other)
true
if this condition is more specialized than the given oneBuildTarget getBuildTarget()