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