public interface BuildRuleArg extends ConstructorArg
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TARGET_PLATFORM_PARAM_NAME |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
Optional<UnconfiguredBuildTarget> |
getDefaultTargetPlatform()
The name of build target default "new" platform: it is used when a platform is not specified
either globally or in a target which used this target as a dependency.
|
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
default boolean |
labelsContainsAnyOf(Set<String> labels) |
getName
static final String DEFAULT_TARGET_PLATFORM_PARAM_NAME
com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
@Value.NaturalOrder com.google.common.collect.ImmutableSortedSet<String> getLabels()
Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
config_setting
a target is compatible with.