Package redempt.ordinate.component.flag
Class BooleanFlagComponent<T>
java.lang.Object
redempt.ordinate.component.abstracts.CommandComponent<T>
redempt.ordinate.component.flag.BooleanFlagComponent<T>
- All Implemented Interfaces:
HelpProvider<T>
,Named
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHelp
(HelpBuilder<T> help) complete
(CommandContext<T> context, Set<String> completions) int
int
int
getName()
getNames()
int
parse
(CommandContext<T> context)
-
Constructor Details
-
BooleanFlagComponent
-
-
Method Details
-
getMaxConsumedArgs
public int getMaxConsumedArgs()- Specified by:
getMaxConsumedArgs
in classCommandComponent<T>
-
getMinConsumedArgs
public int getMinConsumedArgs()- Overrides:
getMinConsumedArgs
in classCommandComponent<T>
-
getName
-
getNames
-
getMaxParsedObjects
public int getMaxParsedObjects()- Specified by:
getMaxParsedObjects
in classCommandComponent<T>
-
getPriority
public int getPriority()- Specified by:
getPriority
in classCommandComponent<T>
-
addHelp
- Specified by:
addHelp
in interfaceHelpProvider<T>
-
parse
- Specified by:
parse
in classCommandComponent<T>
-
complete
- Overrides:
complete
in classCommandComponent<T>
-