Package google.registry.tools.params
Class DurationParameter
java.lang.Object
google.registry.tools.params.ParameterConverterValidator<org.joda.time.Duration>
google.registry.tools.params.DurationParameter
- All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
,com.beust.jcommander.IStringConverter<org.joda.time.Duration>
Duration CLI parameter converter/validator.
-
Constructor Summary
-
Method Summary
Methods inherited from class google.registry.tools.params.ParameterConverterValidator
validate
-
Constructor Details
-
DurationParameter
public DurationParameter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfacecom.beust.jcommander.IStringConverter<org.joda.time.Duration>
- Specified by:
convert
in classParameterConverterValidator<org.joda.time.Duration>
-