public class ConstraintValueDescription extends Object implements ConfigurationRuleDescription<ConstraintValueArg,ConstraintValueRule>
constraint_value
.
Constraint value define a constraint that can be used to define platforms.
For example:
constraint_value( name = "constraint_value", constraint_setting = ":constraint", )
Constructor and Description |
---|
ConstraintValueDescription() |
Modifier and Type | Method and Description |
---|---|
ConstraintValueRule |
createConfigurationRule(ConfigurationRuleResolver configurationRuleResolver,
BuildTarget buildTarget,
DependencyStack dependencyStack,
ConstraintValueArg arg)
Creates a
ConfigurationRule |
com.google.common.collect.ImmutableSet<BuildTarget> |
getConfigurationDeps(ConstraintValueArg arg) |
Class<ConstraintValueArg> |
getConstructorArgType()
The type of the constructor argument that is used by this description to create a rule
|
Class<ConstraintValueRule> |
getRuleClass()
Reified type parameter
|
public Class<ConstraintValueArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<ConstraintValueArg>
public Class<ConstraintValueRule> getRuleClass()
ConfigurationRuleDescription
getRuleClass
in interface ConfigurationRuleDescription<ConstraintValueArg,ConstraintValueRule>
public ConstraintValueRule createConfigurationRule(ConfigurationRuleResolver configurationRuleResolver, BuildTarget buildTarget, DependencyStack dependencyStack, ConstraintValueArg arg)
ConfigurationRuleDescription
ConfigurationRule
createConfigurationRule
in interface ConfigurationRuleDescription<ConstraintValueArg,ConstraintValueRule>
public com.google.common.collect.ImmutableSet<BuildTarget> getConfigurationDeps(ConstraintValueArg arg)
getConfigurationDeps
in interface BaseDescription<ConstraintValueArg>