Package redempt.ordinate.parser
Class CommandCollection<T>
java.lang.Object
redempt.ordinate.parser.CommandCollection<T>
- Type Parameters:
T
- The sender type
Represents a collection of parsed commands ready to be registered
-
Constructor Summary
ModifierConstructorDescriptionprotected
CommandCollection
(List<Command<T>> commands, CommandManager<T> commandManager) -
Method Summary
Modifier and TypeMethodDescriptionList<CommandBase<T>>
void
register()
Registers all commands in the collection
-
Constructor Details
-
CommandCollection
-
-
Method Details
-
register
public void register()Registers all commands in the collection -
getCommands
- Returns:
- The parsed commands
-