Package com.evolveum.midpoint.ninja.util
Class EnumConverterValidator<T extends Enum>
- java.lang.Object
-
- com.evolveum.midpoint.ninja.util.EnumConverterValidator<T>
-
- All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
,com.beust.jcommander.IStringConverter<T>
- Direct Known Subclasses:
RunModeConverterValidator
,VerifyOptions.ReportStyleConverter
,VerifyOptions.VerificationCategoryConverter
public class EnumConverterValidator<T extends Enum> extends Object implements com.beust.jcommander.IStringConverter<T>, com.beust.jcommander.IParameterValidator
-
-
Constructor Summary
Constructors Constructor Description EnumConverterValidator(@NotNull Class<T> enumClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
convert(String value)
void
validate(String name, String value)
-