Package google.registry.tools.params
Class EnumParameter<T extends Enum<T>>
java.lang.Object
google.registry.tools.params.ParameterConverterValidator<T>
google.registry.tools.params.EnumParameter<T>
- All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
,com.beust.jcommander.IStringConverter<T>
- Direct Known Subclasses:
TldStateParameter
Base class for Enum-based parameters.
This is not necessary for single-value Enum parameters (i.e. arity = 1) as JCommander natively
supports them, but is necessary for variable-arity (List<Enum>
) parameters.
-
Constructor Summary
-
Method Summary
Methods inherited from class google.registry.tools.params.ParameterConverterValidator
validate