Class ParameterFactory

java.lang.Object
google.registry.tools.params.ParameterFactory
All Implemented Interfaces:
com.beust.jcommander.IStringConverterFactory

public final class ParameterFactory extends Object implements com.beust.jcommander.IStringConverterFactory
JCommander converter factory that works for non-internal converters.
  • Constructor Details

    • ParameterFactory

      public ParameterFactory()
  • Method Details

    • getConverter

      @Nullable public Class<? extends com.beust.jcommander.IStringConverter<?>> getConverter(@Nullable Class<?> type)
      Returns JCommander converter for a given type, or null if none exists.
      Specified by:
      getConverter in interface com.beust.jcommander.IStringConverterFactory