public interface FloodgateCommand
| Modifier and Type | Method and Description |
|---|---|
org.incendo.cloud.Command<? extends UserAudience> |
buildCommand(org.incendo.cloud.CommandManager<UserAudience> commandManager)
Called by the CommandRegister when it wants you to build the command which he can add.
|
default boolean |
shouldRegister(FloodgateConfig config)
Called by the CommandRegister to check if the command should be added given the config.
|
org.incendo.cloud.Command<? extends UserAudience> buildCommand(org.incendo.cloud.CommandManager<UserAudience> commandManager)
commandManager - the manager to create a commanddefault boolean shouldRegister(FloodgateConfig config)
config - the config to check if a command should be added