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 Details

    • HostAndPortParameter

      public HostAndPortParameter()
  • Method Details

    • convert

      public com.google.common.net.HostAndPort convert(String value)
      Specified by:
      convert in interface com.beust.jcommander.IStringConverter<com.google.common.net.HostAndPort>
      Specified by:
      convert in class ParameterConverterValidator<com.google.common.net.HostAndPort>