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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddHelp(HelpBuilder<T> help) complete(CommandContext<T> context, Set<String> completions) intintintgetName()getNames()intparse(CommandContext<T> context)  
- 
Constructor Details
- 
BooleanFlagComponent
 
 - 
 - 
Method Details
- 
getMaxConsumedArgs
public int getMaxConsumedArgs()- Specified by:
 getMaxConsumedArgsin classCommandComponent<T>
 - 
getMinConsumedArgs
public int getMinConsumedArgs()- Overrides:
 getMinConsumedArgsin classCommandComponent<T>
 - 
getName
 - 
getNames
 - 
getMaxParsedObjects
public int getMaxParsedObjects()- Specified by:
 getMaxParsedObjectsin classCommandComponent<T>
 - 
getPriority
public int getPriority()- Specified by:
 getPriorityin classCommandComponent<T>
 - 
addHelp
- Specified by:
 addHelpin interfaceHelpProvider<T>
 - 
parse
- Specified by:
 parsein classCommandComponent<T>
 - 
complete
- Overrides:
 completein classCommandComponent<T>
 
 -