public final class MainCommand extends SubCommands implements FloodgateCommand
| Constructor and Description |
|---|
MainCommand() |
| Modifier and Type | Method and Description |
|---|---|
org.incendo.cloud.Command<UserAudience> |
buildCommand(org.incendo.cloud.CommandManager<UserAudience> commandManager)
Called by the CommandRegister when it wants you to build the command which he can add.
|
void |
execute(org.incendo.cloud.context.CommandContext<UserAudience> context) |
defineSubCommand, registerSubCommands, subCommandsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldRegisterpublic org.incendo.cloud.Command<UserAudience> buildCommand(org.incendo.cloud.CommandManager<UserAudience> commandManager)
FloodgateCommandbuildCommand in interface FloodgateCommandcommandManager - the manager to create a commandpublic void execute(org.incendo.cloud.context.CommandContext<UserAudience> context)