CloudCommandManager

class CloudCommandManager : CommandManager<CommandSource>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun appendSuggestionMapper(mapper: @NonNull SuggestionMapper<out Suggestion>)
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun capabilities(): @NonNull MutableCollection<@NonNull CloudCapability>
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun captionFormatter(): @NonNull CaptionFormatter<CommandSource, String>
@API(status = API.Status.STABLE)
open fun captionFormatter(captionFormatter: @NonNull CaptionFormatter<CommandSource, String>)
Link copied to clipboard
@API(status = API.Status.STABLE)
fun captionRegistry(): @NonNull CaptionRegistry<CommandSource>
@API(status = API.Status.STABLE)
fun captionRegistry(captionRegistry: @NonNull CaptionRegistry<CommandSource>)
Link copied to clipboard
open fun command(command: @NonNull Command.Builder<out CommandSource>): @NonNull CommandManager<CommandSource>
@API(status = API.Status.STABLE)
open fun command(commandFactory: @NonNull CommandFactory<CommandSource>): @NonNull CommandManager<CommandSource>
open fun command(command: @NonNull Command<out CommandSource>): @NonNull CommandManager<CommandSource>
Link copied to clipboard
open fun commandBuilder(name: @NonNull String, vararg aliases: @NonNull String): @NonNull Command.Builder<CommandSource>
open fun commandBuilder(name: @NonNull String, aliases: @NonNull MutableCollection<String>, meta: @NonNull CommandMeta): @NonNull Command.Builder<CommandSource>
open fun commandBuilder(name: @NonNull String, description: @NonNull Description, vararg aliases: @NonNull String): @NonNull Command.Builder<CommandSource>
open fun commandBuilder(name: @NonNull String, meta: @NonNull CommandMeta, vararg aliases: @NonNull String): @NonNull Command.Builder<CommandSource>
open fun commandBuilder(name: @NonNull String, aliases: @NonNull MutableCollection<String>, description: @NonNull Description, meta: @NonNull CommandMeta): @NonNull Command.Builder<CommandSource>
open fun commandBuilder(name: @NonNull String, meta: @NonNull CommandMeta, description: @NonNull Description, vararg aliases: @NonNull String): @NonNull Command.Builder<CommandSource>
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun commandExecutor(): @NonNull CommandExecutor<CommandSource>
Link copied to clipboard
open fun commandRegistrationHandler(): @NonNull CommandRegistrationHandler<CommandSource>
Link copied to clipboard
@API(status = API.Status.STABLE)
fun commands(): @NonNull MutableCollection<@NonNull Command<CommandSource>>
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun commandSyntaxFormatter(): @NonNull CommandSyntaxFormatter<CommandSource>
@API(status = API.Status.STABLE)
open fun commandSyntaxFormatter(commandSyntaxFormatter: @NonNull CommandSyntaxFormatter<CommandSource>)
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun commandTree(): @NonNull CommandTree<CommandSource>
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun <T : Any> componentBuilder(type: @NonNull Class<T>, name: @NonNull String): @NonNull CommandComponent.Builder<CommandSource, T>
Link copied to clipboard
open override fun createDefaultCommandMeta(): @NonNull CommandMeta
Link copied to clipboard
@API(status = API.Status.STABLE)
fun createHelpHandler(): @NonNull HelpHandler<CommandSource>
@API(status = API.Status.STABLE)
fun createHelpHandler(filter: @NonNull CommandPredicate<CommandSource>): @NonNull HelpHandler<CommandSource>
Link copied to clipboard
override fun decorateBuilder(builder: @NonNull Command.Builder<CommandSource>): @NonNull Command.Builder<CommandSource>
Link copied to clipboard
@API(status = API.Status.EXPERIMENTAL)
open fun deleteRootCommand(rootCommand: @NonNull String)
Link copied to clipboard
@API(status = API.Status.STABLE)
fun exceptionController(): @NonNull ExceptionController<CommandSource>
Link copied to clipboard
open fun flagBuilder(name: @NonNull String): @NonNull CommandFlag.Builder<CommandSource, Void>
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun hasCapability(capability: @NonNull CloudCapability): Boolean
Link copied to clipboard
open override fun hasPermission(sender: CommandSource, permission: String): Boolean
Link copied to clipboard
@API(status = API.Status.STABLE)
fun helpHandlerFactory(): @NonNull HelpHandlerFactory<CommandSource>
@API(status = API.Status.STABLE)
fun helpHandlerFactory(helpHandlerFactory: @NonNull HelpHandlerFactory<CommandSource>)
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun isCommandRegistrationAllowed(): Boolean
Link copied to clipboard
fun parameterInjectorRegistry(): @NonNull ParameterInjectorRegistry<CommandSource>
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun parserRegistry(): @NonNull ParserRegistry<CommandSource>
Link copied to clipboard
open fun postprocessContext(context: @NonNull CommandContext<CommandSource>, command: @NonNull Command<CommandSource>): State
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun preprocessContext(context: @NonNull CommandContext<CommandSource>, commandInput: @NonNull CommandInput): State
Link copied to clipboard
open fun registerCommandPostProcessor(processor: @NonNull CommandPostprocessor<CommandSource>)
Link copied to clipboard
open fun registerCommandPreProcessor(processor: @NonNull CommandPreprocessor<CommandSource>)
Link copied to clipboard
open fun requireState(expected: @NonNull RegistrationState)
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun rootCommands(): @NonNull MutableCollection<@NonNull String>
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun settings(): @NonNull Configurable<ManagerSetting>
Link copied to clipboard
override fun state(): @NonNull RegistrationState
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun suggestionFactory(): @NonNull SuggestionFactory<CommandSource, out Suggestion>
Link copied to clipboard
open fun suggestionMapper(): @NonNull SuggestionMapper<out Suggestion>
open fun suggestionMapper(mapper: @NonNull SuggestionMapper<out Suggestion>)
Link copied to clipboard
open fun suggestionProcessor(): @NonNull SuggestionProcessor<CommandSource>
open fun suggestionProcessor(suggestionProcessor: @NonNull SuggestionProcessor<CommandSource>)
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun testPermission(sender: @NonNull CommandSource, permission: @NonNull Permission): @NonNull PermissionResult
Link copied to clipboard
override fun transitionIfPossible(in: @NonNull RegistrationState, out: @NonNull RegistrationState): Boolean
Link copied to clipboard
open fun transitionOrThrow(in: @NonNull RegistrationState, out: @NonNull RegistrationState)