Class StandardParameters
java.lang.Object
cloud.commandframework.arguments.parser.StandardParameters
Common parser parameters used when resolving types in the
ParserRegistry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ParserParameter<String[]>
Command completionsstatic final ParserParameter<Boolean>
Command confirmationstatic final ParserParameter<String>
Command descriptionstatic final ParserParameter<Boolean>
Indicates that an argument should stop parsing when encountering a potential flag.static final ParserParameter<Boolean>
Indicates that a string argument should be greedystatic final ParserParameter<Boolean>
The command should be hidden from help menus, etcstatic final ParserParameter<Boolean>
Indicates that a boolean argument should be liberal.static final ParserParameter<Boolean>
Indicates that a string argument should be quoted.static final ParserParameter<Number>
Maximum value accepted by a numerical parserstatic final ParserParameter<Number>
Minimum value accepted by a numerical parser -
Method Summary
-
Field Details
-
RANGE_MIN
Minimum value accepted by a numerical parser -
RANGE_MAX
Maximum value accepted by a numerical parser -
DESCRIPTION
Command description -
CONFIRMATION
Command confirmation -
COMPLETIONS
Command completions -
HIDDEN
The command should be hidden from help menus, etc -
GREEDY
Indicates that a string argument should be greedy -
FLAG_YIELDING
Indicates that an argument should stop parsing when encountering a potential flag.- Since:
- 1.7.0
- See Also:
-
QUOTED
Indicates that a string argument should be quoted.- Since:
- 1.5.0
-
LIBERAL
Indicates that a boolean argument should be liberal.- Since:
- 1.6.0
-