Package google.registry.tools.params
Class PathParameter
java.lang.Object
google.registry.tools.params.ParameterConverterValidator<Path>
google.registry.tools.params.PathParameter
- All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
,com.beust.jcommander.IStringConverter<Path>
- Direct Known Subclasses:
PathParameter.InputFile
,PathParameter.OutputDirectory
,PathParameter.OutputFile
Filesystem path CLI parameter converter/validator.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
PathParameter when you want an input file that must exist.static final class
PathParameter when you want an output directory parameter.static final class
PathParameter when you want an output file parameter. -
Constructor Summary
-
Method Summary
Methods inherited from class google.registry.tools.params.ParameterConverterValidator
validate
-
Constructor Details
-
PathParameter
public PathParameter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfacecom.beust.jcommander.IStringConverter<Path>
- Specified by:
convert
in classParameterConverterValidator<Path>
-