Package redempt.ordinate.component
Class SubcommandLookupComponent<T>
java.lang.Object
redempt.ordinate.component.abstracts.CommandComponent<T>
redempt.ordinate.component.SubcommandLookupComponent<T>
- All Implemented Interfaces:
 CommandParent<T>,HelpProvider<T>
public class SubcommandLookupComponent<T>
extends CommandComponent<T>
implements HelpProvider<T>, CommandParent<T>
- 
Constructor Summary
ConstructorsConstructorDescriptionSubcommandLookupComponent(List<Command<T>> commands, MessageFormatter<T> invalidSubcommand)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddHelp(HelpBuilder<T> help) complete(CommandContext<T> context, Set<String> completions) intintintintparse(CommandContext<T> context) void 
- 
Constructor Details
- 
SubcommandLookupComponent
 
 - 
 - 
Method Details
- 
setParent
- Overrides:
 setParentin classCommandComponent<T>
 - 
getMinConsumedArgs
public int getMinConsumedArgs()- Overrides:
 getMinConsumedArgsin classCommandComponent<T>
 - 
getMaxConsumedArgs
public int getMaxConsumedArgs()- Specified by:
 getMaxConsumedArgsin classCommandComponent<T>
 - 
getMaxParsedObjects
public int getMaxParsedObjects()- Specified by:
 getMaxParsedObjectsin classCommandComponent<T>
 - 
getPriority
public int getPriority()- Specified by:
 getPriorityin classCommandComponent<T>
 - 
parse
- Specified by:
 parsein classCommandComponent<T>
 - 
complete
- Overrides:
 completein classCommandComponent<T>
 - 
addHelp
- Specified by:
 addHelpin interfaceHelpProvider<T>
 - 
getSubcommands
- Specified by:
 getSubcommandsin interfaceCommandParent<T>
 
 -