public class ConstraintValueUtil extends Object
AbstractConstraintValue
Modifier and Type | Method and Description |
---|---|
static void |
validateUniqueConstraintSettings(String ruleType,
BuildTarget buildTarget,
DependencyStack dependencyStack,
com.google.common.collect.ImmutableSet<ConstraintValue> constraintValues)
Buck does not allow duplicate
config_setting in a set of constraint_value in
config_setting or platform rules. |
public static void validateUniqueConstraintSettings(String ruleType, BuildTarget buildTarget, DependencyStack dependencyStack, com.google.common.collect.ImmutableSet<ConstraintValue> constraintValues)
config_setting
in a set of constraint_value
in
config_setting
or platform
rules.