- call(String, CommandLocals, String[]) - Method in interface com.sk89q.intake.CommandCallable
-
Execute the correct command based on the input.
- call(String, CommandLocals, String[]) - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- checkPermission(String) - Method in interface com.sk89q.intake.util.auth.Subject
-
Check whether this subject has been granted the given permission
and throw an exception on error.
- com.sk89q.intake - package com.sk89q.intake
-
- com.sk89q.intake.completion - package com.sk89q.intake.completion
-
- com.sk89q.intake.context - package com.sk89q.intake.context
-
- com.sk89q.intake.dispatcher - package com.sk89q.intake.dispatcher
-
- com.sk89q.intake.fluent - package com.sk89q.intake.fluent
-
- com.sk89q.intake.parametric - package com.sk89q.intake.parametric
-
- com.sk89q.intake.parametric.annotation - package com.sk89q.intake.parametric.annotation
-
- com.sk89q.intake.parametric.argument - package com.sk89q.intake.parametric.argument
-
- com.sk89q.intake.parametric.binding - package com.sk89q.intake.parametric.binding
-
- com.sk89q.intake.parametric.handler - package com.sk89q.intake.parametric.handler
-
- com.sk89q.intake.util - package com.sk89q.intake.util
-
- com.sk89q.intake.util.auth - package com.sk89q.intake.util.auth
-
- Command - Annotation Type in com.sk89q.intake
-
Annotates a method that is to be registered as a command.
- command - Variable in class com.sk89q.intake.context.CommandContext
-
- CommandCallable - Interface in com.sk89q.intake
-
A command that can be executed.
- CommandCompleter - Interface in com.sk89q.intake.completion
-
Provides a method that can provide tab completion for commands.
- CommandContext - Class in com.sk89q.intake.context
-
- CommandContext(String) - Constructor for class com.sk89q.intake.context.CommandContext
-
- CommandContext(String[]) - Constructor for class com.sk89q.intake.context.CommandContext
-
- CommandContext(String, Set<Character>) - Constructor for class com.sk89q.intake.context.CommandContext
-
- CommandContext(String, Set<Character>, boolean) - Constructor for class com.sk89q.intake.context.CommandContext
-
- CommandContext(String[], Set<Character>) - Constructor for class com.sk89q.intake.context.CommandContext
-
- CommandContext(String[], Set<Character>, boolean, CommandLocals) - Constructor for class com.sk89q.intake.context.CommandContext
-
Parse the given array of arguments.
- CommandException - Exception in com.sk89q.intake
-
Thrown when an executed command raises an error or when execution of
the command failed.
- CommandException() - Constructor for exception com.sk89q.intake.CommandException
-
Constructs a new exception with null as its detail message.
- CommandException(String) - Constructor for exception com.sk89q.intake.CommandException
-
Constructs a new exception with the specified detail message.
- CommandException(String, Throwable) - Constructor for exception com.sk89q.intake.CommandException
-
Constructs a new exception with the specified detail message and
cause.
- CommandException(Throwable) - Constructor for exception com.sk89q.intake.CommandException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- CommandGraph - Class in com.sk89q.intake.fluent
-
A fluent interface to creating a command graph.
- CommandGraph() - Constructor for class com.sk89q.intake.fluent.CommandGraph
-
Create a new command graph.
- CommandLocals - Class in com.sk89q.intake.context
-
This object holds contextual data for a command execution.
- CommandLocals() - Constructor for class com.sk89q.intake.context.CommandLocals
-
- CommandMapping - Interface in com.sk89q.intake
-
Provides information about a mapping between a command and its aliases.
- commands() - Method in class com.sk89q.intake.fluent.CommandGraph
-
Get the root dispatcher node.
- compare(CommandMapping, CommandMapping) - Method in class com.sk89q.intake.util.PrimaryAliasComparator
-
- contains(String) - Method in interface com.sk89q.intake.dispatcher.Dispatcher
-
Returns whether the dispatcher contains a registered command for the given alias.
- contains(String) - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- containsKey(Object) - Method in class com.sk89q.intake.context.CommandLocals
-
Test whether the given key exists.
- containsValue(Object) - Method in class com.sk89q.intake.context.CommandLocals
-
Test whether the given value exists.
- ContextArgumentStack - Class in com.sk89q.intake.parametric.argument
-
Makes an instance of a
CommandContext into a stack of arguments
that can be consumed.
- ContextArgumentStack(CommandContext) - Constructor for class com.sk89q.intake.parametric.argument.ContextArgumentStack
-
Create a new instance using the given context.
- convert(Throwable) - Method in interface com.sk89q.intake.parametric.handler.ExceptionConverter
-
- convert(Throwable) - Method in class com.sk89q.intake.parametric.handler.ExceptionConverterHelper
-
- createInvokeHandler() - Method in interface com.sk89q.intake.parametric.handler.InvokeListener
-
Create a new invocation handler.
- createInvokeHandler() - Method in class com.sk89q.intake.parametric.handler.LegacyCommandsHandler
-
- get(Object) - Method in class com.sk89q.intake.context.CommandLocals
-
Returns the value specified by the given key.
- get(Class<T>) - Method in class com.sk89q.intake.context.CommandLocals
-
Get an object whose key will be the object's class.
- get(String) - Method in interface com.sk89q.intake.dispatcher.Dispatcher
-
- get(String) - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- getAliases() - Method in interface com.sk89q.intake.dispatcher.Dispatcher
-
Get a list of all the command aliases, which includes the primary alias.
- getAliases() - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- getAllAliases() - Method in interface com.sk89q.intake.CommandMapping
-
Get a list of all aliases.
- getAllAliases() - Method in class com.sk89q.intake.ImmutableCommandMapping
-
- getAuthorizer() - Method in class com.sk89q.intake.parametric.ParametricBuilder
-
Get the authorizer.
- getBehavior(ParameterData) - Method in interface com.sk89q.intake.parametric.binding.Binding
-
- getBehavior(ParameterData) - Method in class com.sk89q.intake.parametric.binding.BindingHelper
-
- getBinding() - Method in class com.sk89q.intake.parametric.ParameterData
-
Get the binding associated with this parameter.
- getBoolean(ArgumentStack) - Method in class com.sk89q.intake.parametric.binding.PrimitiveBindings
-
- getBuilder() - Method in class com.sk89q.intake.fluent.CommandGraph
-
- getCallable() - Method in interface com.sk89q.intake.CommandMapping
-
Get the callable
- getCallable() - Method in class com.sk89q.intake.ImmutableCommandMapping
-
- getClassifier() - Method in class com.sk89q.intake.parametric.ParameterData
-
Get the classifier annotation.
- getCommand() - Method in class com.sk89q.intake.context.CommandContext
-
- getCommand() - Method in exception com.sk89q.intake.InvalidUsageException
-
Get the command.
- getCommandContext(ArgumentStack) - Method in class com.sk89q.intake.parametric.binding.StandardBindings
-
- getCommandExecutor() - Method in class com.sk89q.intake.parametric.ParametricBuilder
-
Get the executor service used to invoke the actual command.
- getCommands() - Method in interface com.sk89q.intake.dispatcher.Dispatcher
-
Get a list of commands.
- getCommands() - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- getCommandUsed(String, String) - Method in exception com.sk89q.intake.CommandException
-
Gets the command that was called, which will include the sub-command
(i.e.
- getConsumed() - Method in class com.sk89q.intake.parametric.argument.ContextArgumentStack
-
Return the arguments that were consumed between this point and that marked point.
- getConsumedCount(ParameterData) - Method in interface com.sk89q.intake.parametric.binding.Binding
-
Get the number of arguments that this binding will consume, if this
information is available.
- getConsumedCount(ParameterData) - Method in class com.sk89q.intake.parametric.binding.BindingHelper
-
- getContext() - Method in interface com.sk89q.intake.parametric.argument.ArgumentStack
-
Get the underlying context.
- getContext() - Method in class com.sk89q.intake.parametric.argument.ContextArgumentStack
-
Get the underlying context.
- getContext() - Method in class com.sk89q.intake.parametric.argument.StringArgumentStack
-
- getDefaultCompleter() - Method in class com.sk89q.intake.parametric.ParametricBuilder
-
Get the default command suggestions provider that will be used if
no suggestions are available.
- getDefaultValue() - Method in interface com.sk89q.intake.Parameter
-
Get the default value as a string to be parsed by the binding.
- getDefaultValue() - Method in class com.sk89q.intake.SettableParameter
-
- getDescription() - Method in interface com.sk89q.intake.CommandCallable
-
Get an object describing this command.
- getDescription() - Method in interface com.sk89q.intake.CommandMapping
-
- getDescription() - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- getDescription() - Method in class com.sk89q.intake.ImmutableCommandMapping
-
- getDispatcher() - Method in class com.sk89q.intake.fluent.CommandGraph
-
Get the root dispatcher.
- getDispatcher() - Method in class com.sk89q.intake.fluent.DispatcherNode
-
Get the underlying dispatcher of this object.
- getDouble(int) - Method in class com.sk89q.intake.context.CommandContext
-
- getDouble(int, double) - Method in class com.sk89q.intake.context.CommandContext
-
- getDouble(ArgumentStack, Annotation[]) - Method in class com.sk89q.intake.parametric.binding.PrimitiveBindings
-
- getFlag(char) - Method in class com.sk89q.intake.context.CommandContext
-
- getFlag(char, String) - Method in class com.sk89q.intake.context.CommandContext
-
- getFlag() - Method in class com.sk89q.intake.context.SuggestionContext
-
- getFlag() - Method in interface com.sk89q.intake.Parameter
-
Get the flag associated with this parameter.
- getFlag() - Method in class com.sk89q.intake.SettableParameter
-
- getFlagDouble(char) - Method in class com.sk89q.intake.context.CommandContext
-
- getFlagDouble(char, double) - Method in class com.sk89q.intake.context.CommandContext
-
- getFlagInteger(char) - Method in class com.sk89q.intake.context.CommandContext
-
- getFlagInteger(char, int) - Method in class com.sk89q.intake.context.CommandContext
-
- getFlags() - Method in class com.sk89q.intake.context.CommandContext
-
- getFloat(ArgumentStack, Annotation[]) - Method in class com.sk89q.intake.parametric.binding.PrimitiveBindings
-
- getGroups() - Method in interface com.sk89q.intake.util.auth.Subject
-
Get a list of groups that this subject is a part of.
- getHelp() - Method in interface com.sk89q.intake.Description
-
Get a longer help text about this command.
- getHelp() - Method in class com.sk89q.intake.SettableDescription
-
- getInteger(int) - Method in class com.sk89q.intake.context.CommandContext
-
- getInteger(int, int) - Method in class com.sk89q.intake.context.CommandContext
-
- getInteger(ArgumentStack, Annotation[]) - Method in class com.sk89q.intake.parametric.binding.PrimitiveBindings
-
- getJoinedStrings(int) - Method in class com.sk89q.intake.context.CommandContext
-
- getLevenshteinDistance(String, String) - Static method in class com.sk89q.intake.util.StringUtils
-
Deprecated.
Find the Levenshtein distance between two Strings.
- getLocals() - Method in class com.sk89q.intake.context.CommandContext
-
- getModifiers() - Method in class com.sk89q.intake.parametric.ParameterData
-
Get a list of modifier annotations.
- getName() - Method in interface com.sk89q.intake.Parameter
-
The name of the parameter.
- getName() - Method in class com.sk89q.intake.SettableParameter
-
- getPaddedSlice(int, int) - Method in class com.sk89q.intake.context.CommandContext
-
- getParameters() - Method in interface com.sk89q.intake.Description
-
Get the list of parameters for this command.
- getParameters() - Method in class com.sk89q.intake.SettableDescription
-
- getParsedPaddedSlice(int, int) - Method in class com.sk89q.intake.context.CommandContext
-
- getParsedSlice(int) - Method in class com.sk89q.intake.context.CommandContext
-
- getPermissions() - Method in interface com.sk89q.intake.Description
-
Get a list of permissions that the player may have to have permission.
- getPermissions() - Method in class com.sk89q.intake.SettableDescription
-
- getPrimaryAlias() - Method in interface com.sk89q.intake.CommandMapping
-
Get the primary alias.
- getPrimaryAlias() - Method in class com.sk89q.intake.ImmutableCommandMapping
-
- getPrimaryAliases() - Method in interface com.sk89q.intake.dispatcher.Dispatcher
-
Get a list of primary aliases.
- getPrimaryAliases() - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- getRemainingString(int) - Method in class com.sk89q.intake.context.CommandContext
-
- getShort(ArgumentStack, Annotation[]) - Method in class com.sk89q.intake.parametric.binding.PrimitiveBindings
-
- getShortDescription() - Method in interface com.sk89q.intake.Description
-
Get a short one-line description of this command.
- getShortDescription() - Method in class com.sk89q.intake.SettableDescription
-
- getSimpleUsageString(String) - Method in exception com.sk89q.intake.InvalidUsageException
-
Get a simple usage string.
- getSlice(int) - Method in class com.sk89q.intake.context.CommandContext
-
- getString(int) - Method in class com.sk89q.intake.context.CommandContext
-
- getString(int, String) - Method in class com.sk89q.intake.context.CommandContext
-
- getString(int, int) - Method in class com.sk89q.intake.context.CommandContext
-
- getString(ArgumentStack, Annotation[]) - Method in class com.sk89q.intake.parametric.binding.PrimitiveBindings
-
- getSuggestionContext() - Method in class com.sk89q.intake.context.CommandContext
-
- getSuggestions(String, CommandLocals) - Method in interface com.sk89q.intake.completion.CommandCompleter
-
Get a list of suggestions based on input.
- getSuggestions(String, CommandLocals) - Method in class com.sk89q.intake.completion.NullCompleter
-
- getSuggestions(String, CommandLocals) - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- getSuggestions(ParameterData, String) - Method in interface com.sk89q.intake.parametric.binding.Binding
-
Get a list of suggestions for the given parameter and user arguments.
- getSuggestions(ParameterData, String) - Method in class com.sk89q.intake.parametric.binding.BindingHelper
-
- getText(ArgumentStack, Text, Annotation[]) - Method in class com.sk89q.intake.parametric.binding.PrimitiveBindings
-
- getType() - Method in class com.sk89q.intake.parametric.ParameterData
-
Set the main type of this parameter.
- getTypes() - Method in interface com.sk89q.intake.parametric.binding.Binding
-
Get the types that this binding handles.
- getTypes() - Method in class com.sk89q.intake.parametric.binding.BindingHelper
-
- getUnconsumed() - Method in class com.sk89q.intake.parametric.argument.ContextArgumentStack
-
Get the unconsumed arguments left over, without touching the stack.
- getUnconsumed() - Method in exception com.sk89q.intake.parametric.UnconsumedParameterException
-
Get the unconsumed tokens.
- getUsage() - Method in interface com.sk89q.intake.Description
-
Get the usage string of this command.
- getUsage() - Method in class com.sk89q.intake.SettableDescription
-
- getValueFlags() - Method in class com.sk89q.intake.context.CommandContext
-
- graph() - Method in class com.sk89q.intake.fluent.DispatcherNode
-
Get the root command graph.
- group(String...) - Method in class com.sk89q.intake.fluent.DispatcherNode
-
Create a new command that will contain sub-commands.
- setAuthorizer(Authorizer) - Method in class com.sk89q.intake.parametric.ParametricBuilder
-
Set the authorizer.
- setCommandExecutor(ExecutorService) - Method in class com.sk89q.intake.parametric.ParametricBuilder
-
Set the executor service used to invoke the actual command.
- setDefaultCompleter(CommandCompleter) - Method in class com.sk89q.intake.parametric.ParametricBuilder
-
Set the default command suggestions provider that will be used if
no suggestions are available.
- setDefaultValue(String[]) - Method in class com.sk89q.intake.SettableParameter
-
Set the default value.
- setDescription(String) - Method in class com.sk89q.intake.SettableDescription
-
Set the description of the command.
- setFlag(Character, boolean) - Method in class com.sk89q.intake.SettableParameter
-
Set the flag used by this parameter.
- setHelp(String) - Method in class com.sk89q.intake.SettableDescription
-
Set the help text of the command.
- setName(String) - Method in class com.sk89q.intake.SettableParameter
-
Set the name of the parameter.
- setOptional(boolean) - Method in class com.sk89q.intake.SettableParameter
-
Set whether this parameter is optional.
- setParameters(List<Parameter>) - Method in class com.sk89q.intake.SettableDescription
-
Set the list of parameters.
- setPermissions(List<String>) - Method in class com.sk89q.intake.SettableDescription
-
Set the permissions of this command.
- SettableDescription - Class in com.sk89q.intake
-
A simple implementation of
Description which has setter methods.
- SettableDescription() - Constructor for class com.sk89q.intake.SettableDescription
-
- SettableParameter - Class in com.sk89q.intake
-
A simple implementation of
Parameter that has setter methods to
set the properties.
- SettableParameter() - Constructor for class com.sk89q.intake.SettableParameter
-
Create a new parameter with no name defined yet.
- SettableParameter(String) - Constructor for class com.sk89q.intake.SettableParameter
-
Create a new parameter of the given name.
- SimpleDispatcher - Class in com.sk89q.intake.dispatcher
-
- SimpleDispatcher() - Constructor for class com.sk89q.intake.dispatcher.SimpleDispatcher
-
Create a new instance.
- split(String) - Static method in class com.sk89q.intake.context.CommandContext
-
- StandardBindings - Class in com.sk89q.intake.parametric.binding
-
Standard bindings that should be available to most configurations.
- StandardBindings() - Constructor for class com.sk89q.intake.parametric.binding.StandardBindings
-
- StringArgumentStack - Class in com.sk89q.intake.parametric.argument
-
A virtual scope that does not actually read from the underlying
CommandContext.
- StringArgumentStack(CommandContext, String[], boolean) - Constructor for class com.sk89q.intake.parametric.argument.StringArgumentStack
-
Create a new instance using the given context.
- StringArgumentStack(CommandContext, String, boolean) - Constructor for class com.sk89q.intake.parametric.argument.StringArgumentStack
-
Create a new instance using the given context.
- StringUtils - Class in com.sk89q.intake.util
-
- Subject - Interface in com.sk89q.intake.util.auth
-
A subject has authorization attached to it.
- suggestionContext - Variable in class com.sk89q.intake.context.CommandContext
-
- SuggestionContext - Class in com.sk89q.intake.context
-
- Switch - Annotation Type in com.sk89q.intake.parametric.annotation
-
Indicates a command flag, such as /command -f.