Class MoneyParameter

java.lang.Object
google.registry.tools.params.ParameterConverterValidator<org.joda.money.Money>
google.registry.tools.params.MoneyParameter
All Implemented Interfaces:
com.beust.jcommander.IParameterValidator, com.beust.jcommander.IStringConverter<org.joda.money.Money>

public final class MoneyParameter extends ParameterConverterValidator<org.joda.money.Money>
Money CLI parameter converter/validator.
  • Constructor Details

    • MoneyParameter

      public MoneyParameter()
  • Method Details

    • convert

      public org.joda.money.Money convert(String value)
      Specified by:
      convert in interface com.beust.jcommander.IStringConverter<org.joda.money.Money>
      Specified by:
      convert in class ParameterConverterValidator<org.joda.money.Money>