| Modifier and Type | Class and Description |
|---|---|
class |
BoolOrEnumConverter<T extends Enum<T>>
Converter that can also convert from booleans and enumerations.
|
static class |
Converters.AssignmentConverter
A converter for variable assignments from the parameter list of a blaze
command invocation.
|
static class |
Converters.BooleanConverter
A converter for boolean values.
|
static class |
Converters.ColonSeparatedOptionListConverter |
static class |
Converters.CommaSeparatedOptionListConverter |
static class |
Converters.HelpVerbosityConverter |
static class |
Converters.LengthLimitingConverter
Limits the length of a string argument.
|
static class |
Converters.LogLevelConverter |
static class |
Converters.OptionalAssignmentConverter
A converter for variable assignments from the parameter list of a blaze
command invocation.
|
static class |
Converters.RangeConverter
Checks whether an integer is in the given range.
|
static class |
Converters.RegexPatternConverter
Checks whether a string is a valid regex pattern and compiles it.
|
static class |
Converters.SeparatedOptionListConverter |
static class |
Converters.StringSetConverter
Checks whether a string is part of a set of strings.
|
class |
EnumConverter<T extends Enum<T>>
A converter superclass for converters that parse enums.
|
| Modifier and Type | Method and Description |
|---|---|
Converter<?> |
OptionsParser.OptionDescription.getConverter() |
| Constructor and Description |
|---|
OptionDescription(String name,
Object defaultValue,
Converter<?> converter,
boolean allowMultiple) |
Copyright © 2016. All rights reserved.