Package google.registry.tools.params
Class KeyValueMapParameter.StringToStringMap
java.lang.Object
google.registry.tools.params.ParameterConverterValidator<com.google.common.collect.ImmutableMap<String,String>>
google.registry.tools.params.KeyValueMapParameter<String,String>
google.registry.tools.params.KeyValueMapParameter.StringToStringMap
- All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
,com.beust.jcommander.IStringConverter<com.google.common.collect.ImmutableMap<String,
String>>
- Enclosing class:
KeyValueMapParameter<K,
V>
public static class KeyValueMapParameter.StringToStringMap
extends KeyValueMapParameter<String,String>
Combined converter and validator class for string-to-string Map argument strings.
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.tools.params.KeyValueMapParameter
KeyValueMapParameter.CurrencyUnitToStringMap, KeyValueMapParameter.StringToIntegerMap, KeyValueMapParameter.StringToRegistrarRoleMap, KeyValueMapParameter.StringToStringMap
-
Constructor Summary
-
Method Summary
Methods inherited from class google.registry.tools.params.KeyValueMapParameter
convert, processMap
Methods inherited from class google.registry.tools.params.ParameterConverterValidator
validate
-
Constructor Details
-
StringToStringMap
public StringToStringMap()
-
-
Method Details
-
parseKey
Description copied from class:KeyValueMapParameter
Override to define how to parse rawKey into an object of type K.- Specified by:
parseKey
in classKeyValueMapParameter<String,
String>
-
parseValue
Description copied from class:KeyValueMapParameter
Override to define how to parse rawValue into an object of type V.- Specified by:
parseValue
in classKeyValueMapParameter<String,
String>
-