public class EnabledOptionConstraint extends Object implements OptionConstraint
| Constructor and Description |
|---|
EnabledOptionConstraint(String option,
Set<String> enabledBy)
Constructor with the option which is only enabled if any one of the
options in the given set is active.
|
public EnabledOptionConstraint(String option, Set<String> enabledBy)
option but none of
enabledBy.option - the constrained optionenabledBy - the "enabler options" for the specified optionpublic boolean isValidActiveSet(Set<String> activeSet)
isValidActiveSet in interface OptionConstraintCopyright © 2017. All Rights Reserved.