Package google.registry.tools.params
Class TransitionListParameter.TokenStatusTransitions
java.lang.Object
google.registry.tools.params.ParameterConverterValidator<com.google.common.collect.ImmutableMap<org.joda.time.DateTime,AllocationToken.TokenStatus>>
google.registry.tools.params.KeyValueMapParameter<org.joda.time.DateTime,AllocationToken.TokenStatus>
google.registry.tools.params.TransitionListParameter<AllocationToken.TokenStatus>
google.registry.tools.params.TransitionListParameter.TokenStatusTransitions
- All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
,com.beust.jcommander.IStringConverter<com.google.common.collect.ImmutableMap<org.joda.time.DateTime,
AllocationToken.TokenStatus>>
- Enclosing class:
TransitionListParameter<V>
public static class TransitionListParameter.TokenStatusTransitions
extends TransitionListParameter<AllocationToken.TokenStatus>
Converter-validator for token status transitions.
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.tools.params.TransitionListParameter
TransitionListParameter.BillingCostTransitions, TransitionListParameter.FeatureStatusTransitions, TransitionListParameter.TldStateTransitions, TransitionListParameter.TokenStatusTransitions
Nested classes/interfaces inherited from class google.registry.tools.params.KeyValueMapParameter
KeyValueMapParameter.CurrencyUnitToStringMap, KeyValueMapParameter.StringToIntegerMap, KeyValueMapParameter.StringToRegistrarRoleMap, KeyValueMapParameter.StringToStringMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AllocationToken.TokenStatus
parseValue
(String value) Override to define how to parse rawValue into an object of type V.Methods inherited from class google.registry.tools.params.TransitionListParameter
parseKey, processMap
Methods inherited from class google.registry.tools.params.KeyValueMapParameter
convert
Methods inherited from class google.registry.tools.params.ParameterConverterValidator
validate
-
Constructor Details
-
TokenStatusTransitions
public TokenStatusTransitions()
-
-
Method Details
-
parseValue
Description copied from class:KeyValueMapParameter
Override to define how to parse rawValue into an object of type V.- Specified by:
parseValue
in classKeyValueMapParameter<org.joda.time.DateTime,
AllocationToken.TokenStatus>
-