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
Constructors Constructor Description HostAndPortParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.net.HostAndPort
convert(java.lang.String value)
-
Methods inherited from class google.registry.tools.params.ParameterConverterValidator
validate
-
-
-
-
Method Detail
-
convert
public com.google.common.net.HostAndPort convert(java.lang.String value)
- Specified by:
convert
in interfacecom.beust.jcommander.IStringConverter<com.google.common.net.HostAndPort>
- Specified by:
convert
in classParameterConverterValidator<com.google.common.net.HostAndPort>
-
-