Uses of Class
dev.ua.theroer.magicutils.commands.CommandSpec.Builder
Packages that use CommandSpec.Builder
-
Uses of CommandSpec.Builder in dev.ua.theroer.magicutils.commands
Methods in dev.ua.theroer.magicutils.commands that return CommandSpec.BuilderModifier and TypeMethodDescriptionAdds command aliases.CommandSpec.Builder.argument(CommandArgument argument) Adds a single argument.CommandSpec.Builder.arguments(List<CommandArgument> arguments) Adds multiple arguments.static <S> CommandSpec.Builder<S> Creates a compatibility builder for a command name.CommandSpec.Builder.description(String description) Sets the command description.CommandSpec.Builder.execute(CommandExecutor<S> executor) Sets the execution handler.CommandSpec.Builder.mergePolicy(MergePolicy mergePolicy) Sets how this command's root execute is owned when merged into a shared root.CommandSpec.Builder.permission(String permission) Sets explicit permission node.CommandSpec.Builder.permissionDefault(MagicPermissionDefault permissionDefault) Sets the default permission value.CommandSpec.Builder.subCommand(SubCommandSpec<S> subCommand) Adds a subcommand specification.CommandSpec.Builder.threading(CommandThreading threading) Sets the threading policy.