Option.ButtonOption, Option.CheckOption, Option.ComboOption, Option.SpinOption, Option.StringOption
Constructor and Description |
---|
ComboOption(String name,
String defaultValue,
Set<String> allowedValues)
Constructs a combo option instance.
|
public ComboOption(String name, String defaultValue, Set<String> allowedValues) throws NullPointerException
name
- The name of the option. Cannot be null.defaultValue
- The value of the combo option by default. Cannot be null.allowedValues
- The set of allowed values the option can take on. Cannot be null.NullPointerException
- If any of the parameters are null.Copyright © 2020. All rights reserved.