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