- call(String, Namespace, List<String>) - Method in interface com.sk89q.intake.CommandCallable
-
Execute the command.
- call(String, Namespace, List<String>) - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- call(String, Namespace, List<String>) - Method in class com.sk89q.intake.parametric.AbstractParametricCallable
-
- call(Object[]) - Method in class com.sk89q.intake.parametric.AbstractParametricCallable
-
Called with parsed arguments to execute the command.
- 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.
- Classifier - Annotation Type in com.sk89q.intake.parametric.annotation
-
Marks other annotations as a "classifier."
- com.sk89q.intake - package com.sk89q.intake
-
- com.sk89q.intake.argument - package com.sk89q.intake.argument
-
- com.sk89q.intake.completion - package com.sk89q.intake.completion
-
- com.sk89q.intake.dispatcher - package com.sk89q.intake.dispatcher
-
- com.sk89q.intake.fluent - package com.sk89q.intake.fluent
-
- com.sk89q.intake.internal.parametric - package com.sk89q.intake.internal.parametric
-
- com.sk89q.intake.parametric - package com.sk89q.intake.parametric
-
- com.sk89q.intake.parametric.annotation - package com.sk89q.intake.parametric.annotation
-
- com.sk89q.intake.parametric.binder - package com.sk89q.intake.parametric.binder
-
- com.sk89q.intake.parametric.handler - package com.sk89q.intake.parametric.handler
-
- com.sk89q.intake.parametric.provider - package com.sk89q.intake.parametric.provider
-
- 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.
- CommandArgs - Interface in com.sk89q.intake.argument
-
Provides access to provided user arguments as a stack.
- 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.argument
-
- CommandContext(String) - Constructor for class com.sk89q.intake.argument.CommandContext
-
- CommandContext(String[]) - Constructor for class com.sk89q.intake.argument.CommandContext
-
- CommandContext(String, Set<Character>) - Constructor for class com.sk89q.intake.argument.CommandContext
-
- CommandContext(String, Set<Character>, boolean) - Constructor for class com.sk89q.intake.argument.CommandContext
-
- CommandContext(String[], Set<Character>) - Constructor for class com.sk89q.intake.argument.CommandContext
-
- CommandContext(String[], Set<Character>, boolean, Namespace) - Constructor for class com.sk89q.intake.argument.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
-
- CommandException(String) - Constructor for exception com.sk89q.intake.CommandException
-
- CommandException(String, Throwable) - Constructor for exception com.sk89q.intake.CommandException
-
- CommandException(Throwable) - Constructor for exception com.sk89q.intake.CommandException
-
- 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.
- 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
-
- compareTo(Key<?>) - Method in class com.sk89q.intake.parametric.Key
-
- configure(Binder) - Method in class com.sk89q.intake.parametric.AbstractModule
-
- configure() - Method in class com.sk89q.intake.parametric.AbstractModule
-
- configure(Binder) - Method in interface com.sk89q.intake.parametric.Module
-
- configure() - Method in class com.sk89q.intake.parametric.provider.PrimitivesModule
-
- 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.argument.Namespace
-
Test whether the given key exists.
- containsValue(Object) - Method in class com.sk89q.intake.argument.Namespace
-
Test whether the given value exists.
- convert(Throwable) - Method in interface com.sk89q.intake.parametric.handler.ExceptionConverter
-
- convert(Throwable) - Method in class com.sk89q.intake.parametric.handler.ExceptionConverterHelper
-
- copyOf(List<String>) - Static method in class com.sk89q.intake.argument.Arguments
-
Create an argument stack from a list of string arguments using
an empty namespace.
- copyOf(List<String>, Map<Character, String>) - Static method in class com.sk89q.intake.argument.Arguments
-
Create an argument stack from a list of string arguments.
- copyOf(List<String>, Map<Character, String>, Namespace) - Static method in class com.sk89q.intake.argument.Arguments
-
Create an argument stack from a list of string arguments.
- createInjector() - Static method in class com.sk89q.intake.Intake
-
Create a new injector.
- 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.argument.Namespace
-
Returns the value specified by the given key.
- get(Class<T>) - Method in class com.sk89q.intake.argument.Namespace
-
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
-
- get(Class<T>) - Static method in class com.sk89q.intake.parametric.Key
-
- get(Class<T>, Class<? extends Annotation>) - Static method in class com.sk89q.intake.parametric.Key
-
- get(Type) - Static method in class com.sk89q.intake.parametric.Key
-
- get(Type, Class<? extends Annotation>) - Static method in class com.sk89q.intake.parametric.Key
-
- get(CommandArgs, List<? extends Annotation>) - Method in interface com.sk89q.intake.parametric.Provider
-
Provide a value given the arguments.
- 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.
- getBinding(Key<T>) - Method in class com.sk89q.intake.internal.parametric.InternalInjector
-
- getBinding(Class<T>) - Method in class com.sk89q.intake.internal.parametric.InternalInjector
-
- getBinding(Key<T>) - Method in interface com.sk89q.intake.parametric.Injector
-
Get the binding for the given key, if one exists.
- getBinding(Class<T>) - Method in interface com.sk89q.intake.parametric.Injector
-
Get the binding for the given class, if one exists.
- getBuilder() - Method in class com.sk89q.intake.fluent.CommandGraph
-
- getBuilder() - Method in class com.sk89q.intake.parametric.AbstractParametricCallable
-
Get the parametric builder.
- 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.Key
-
- getCommand() - Method in class com.sk89q.intake.argument.CommandContext
-
- getCommand() - Method in exception com.sk89q.intake.InvalidUsageException
-
Get the command.
- getCommandAnnotations() - Method in class com.sk89q.intake.parametric.AbstractParametricCallable
-
Get the annotations on the command.
- 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
-
- 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 class com.sk89q.intake.ImmutableParameter.Builder
-
Get the default value as a list of arguments.
- getDefaultValue() - Method in class com.sk89q.intake.ImmutableParameter
-
- getDefaultValue() - Method in interface com.sk89q.intake.Parameter
-
The default value as a list of tokenized strings (but one single value).
- getDescription() - Method in interface com.sk89q.intake.CommandCallable
-
Get the object describing the 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.argument.CommandContext
-
- getDouble(int, double) - Method in class com.sk89q.intake.argument.CommandContext
-
- getFlag(char) - Method in class com.sk89q.intake.argument.CommandContext
-
- getFlag(char, String) - Method in class com.sk89q.intake.argument.CommandContext
-
- getFlag() - Method in class com.sk89q.intake.argument.SuggestionContext
-
- getFlag() - Method in class com.sk89q.intake.OptionType
-
Get the flag associated with this parameter.
- getFlagDouble(char) - Method in class com.sk89q.intake.argument.CommandContext
-
- getFlagDouble(char, double) - Method in class com.sk89q.intake.argument.CommandContext
-
- getFlagInteger(char) - Method in class com.sk89q.intake.argument.CommandContext
-
- getFlagInteger(char, int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getFlags() - Method in interface com.sk89q.intake.argument.CommandArgs
-
Get a map of defined flags.
- getFlags() - Method in class com.sk89q.intake.argument.CommandContext
-
- getFlagsMap() - Method in class com.sk89q.intake.argument.CommandContext
-
- 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.ImmutableDescription.Builder
-
Get the help text.
- getHelp() - Method in class com.sk89q.intake.ImmutableDescription
-
- getInjector() - Method in class com.sk89q.intake.parametric.ParametricBuilder
-
- getInstance(Key<T>, CommandArgs, List<? extends Annotation>) - Method in class com.sk89q.intake.internal.parametric.InternalInjector
-
- getInstance(Class<T>, CommandArgs, List<? extends Annotation>) - Method in class com.sk89q.intake.internal.parametric.InternalInjector
-
- getInstance(Key<T>, CommandArgs, List<? extends Annotation>) - Method in interface com.sk89q.intake.parametric.Injector
-
Attempt to provide a value for the given key using the given
arguments.
- getInstance(Class<T>, CommandArgs, List<? extends Annotation>) - Method in interface com.sk89q.intake.parametric.Injector
-
Attempt to provide a value for the given class using the given
arguments.
- getInteger(int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getInteger(int, int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getJoinedStrings(int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getKey() - Method in interface com.sk89q.intake.parametric.Binding
-
Get the key representing the type.
- getName() - Method in class com.sk89q.intake.ImmutableParameter.Builder
-
Get the name of the parameter.
- getName() - Method in class com.sk89q.intake.ImmutableParameter
-
- getName() - Method in interface com.sk89q.intake.Parameter
-
The name of the parameter.
- getNamespace() - Method in interface com.sk89q.intake.argument.CommandArgs
-
Get the map of provided values.
- getNamespace() - Method in class com.sk89q.intake.argument.CommandContext
-
- getOptionType() - Method in class com.sk89q.intake.ImmutableParameter.Builder
-
Get the type of parameter.
- getOptionType() - Method in class com.sk89q.intake.ImmutableParameter
-
- getOptionType() - Method in interface com.sk89q.intake.Parameter
-
The type of parameter.
- getPaddedSlice(int, int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getParameter() - Method in exception com.sk89q.intake.argument.ArgumentParseException
-
- getParameter() - Method in exception com.sk89q.intake.argument.MissingArgumentException
-
- getParameters() - Method in interface com.sk89q.intake.Description
-
Get the list of parameters for this command.
- getParameters() - Method in class com.sk89q.intake.ImmutableDescription.Builder
-
Get the list of parameters.
- getParameters() - Method in class com.sk89q.intake.ImmutableDescription
-
- getParsedPaddedSlice(int, int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getParsedSlice(int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getParser() - Method in class com.sk89q.intake.parametric.AbstractParametricCallable
-
Get the argument parser.
- 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.ImmutableDescription.Builder
-
Get a list of permissions.
- getPermissions() - Method in class com.sk89q.intake.ImmutableDescription
-
- 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
-
- getProvider(Key<T>) - Method in class com.sk89q.intake.internal.parametric.InternalInjector
-
- getProvider(Class<T>) - Method in class com.sk89q.intake.internal.parametric.InternalInjector
-
- getProvider() - Method in interface com.sk89q.intake.parametric.Binding
-
Get the provider
- getProvider(Key<T>) - Method in interface com.sk89q.intake.parametric.Injector
-
Get the provider for the given key, if one exists.
- getProvider(Class<T>) - Method in interface com.sk89q.intake.parametric.Injector
-
Get the provider for the given class, if one exists.
- getRemainingString(int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getShortDescription() - Method in interface com.sk89q.intake.Description
-
Get a short one-line description of this command.
- getShortDescription() - Method in class com.sk89q.intake.ImmutableDescription.Builder
-
Get the short description.
- getShortDescription() - Method in class com.sk89q.intake.ImmutableDescription
-
- getSimpleUsageString(String) - Method in exception com.sk89q.intake.InvalidUsageException
-
Get a simple usage string.
- getSlice(int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getString(int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getString(int, String) - Method in class com.sk89q.intake.argument.CommandContext
-
- getString(int, int) - Method in class com.sk89q.intake.argument.CommandContext
-
- getSuggestionContext() - Method in class com.sk89q.intake.argument.CommandContext
-
- getSuggestions(String, Namespace) - Method in interface com.sk89q.intake.completion.CommandCompleter
-
Get a list of suggestions based on input.
- getSuggestions(String, Namespace) - Method in class com.sk89q.intake.completion.NullCompleter
-
- getSuggestions(String, Namespace) - Method in class com.sk89q.intake.dispatcher.SimpleDispatcher
-
- getSuggestions(String, Namespace) - Method in class com.sk89q.intake.parametric.AbstractParametricCallable
-
- getSuggestions(String) - Method in interface com.sk89q.intake.parametric.Provider
-
Get a list of suggestions for the given parameter and user arguments.
- getType() - Method in class com.sk89q.intake.parametric.Key
-
- getUnconsumed() - Method in exception com.sk89q.intake.argument.UnusedArgumentException
-
Get the unconsumed arguments.
- getUnusedFlags() - Method in class com.sk89q.intake.parametric.AbstractParametricCallable
-
Get a list of flags that should not cause an
UnusedArgumentException to be thrown if they are
not consumed by a parameter.
- getUsage() - Method in interface com.sk89q.intake.Description
-
Get the usage string of this command.
- getUsage() - Method in class com.sk89q.intake.ImmutableDescription
-
- getUsageOverride() - Method in class com.sk89q.intake.ImmutableDescription.Builder
-
Get the usage override string.
- getUserParameters() - Method in class com.sk89q.intake.parametric.ArgumentParser
-
Get a list of parameters that are user-provided and not provided.
- getValueFlags() - Method in class com.sk89q.intake.argument.CommandContext
-
- getValueFlags() - Method in class com.sk89q.intake.parametric.ArgumentParser
-
Get a list of value flags that have been requested by the parameters.
- 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.
- IllegalParameterException - Exception in com.sk89q.intake.parametric
-
Thrown if there is an error with a parameter.
- IllegalParameterException() - Constructor for exception com.sk89q.intake.parametric.IllegalParameterException
-
- IllegalParameterException(String, Throwable) - Constructor for exception com.sk89q.intake.parametric.IllegalParameterException
-
- IllegalParameterException(String) - Constructor for exception com.sk89q.intake.parametric.IllegalParameterException
-
- IllegalParameterException(Throwable) - Constructor for exception com.sk89q.intake.parametric.IllegalParameterException
-
- ImmutableCommandMapping - Class in com.sk89q.intake
-
An immutable command mapping instance.
- ImmutableCommandMapping(CommandCallable, String...) - Constructor for class com.sk89q.intake.ImmutableCommandMapping
-
Create a new instance.
- ImmutableDescription - Class in com.sk89q.intake
-
An immutable implementation of a Description.
- ImmutableDescription.Builder - Class in com.sk89q.intake
-
- ImmutableParameter - Class in com.sk89q.intake
-
- ImmutableParameter.Builder - Class in com.sk89q.intake
-
- Injector - Interface in com.sk89q.intake.parametric
-
An injector knows a list of "bindings" that map types to a provider.
- install(Module) - Method in class com.sk89q.intake.internal.parametric.InternalInjector
-
- install(Module) - Method in interface com.sk89q.intake.parametric.Injector
-
Install a module into the injector.
- INSTANCE - Static variable in class com.sk89q.intake.util.PrimaryAliasComparator
-
An instance of this class.
- Intake - Class in com.sk89q.intake
-
The starting point to using parts of Intake.
- InternalInjector - Class in com.sk89q.intake.internal.parametric
-
- InternalInjector() - Constructor for class com.sk89q.intake.internal.parametric.InternalInjector
-
- InvalidUsageException - Exception in com.sk89q.intake
-
Thrown when a command is not used properly.
- InvalidUsageException(CommandCallable) - Constructor for exception com.sk89q.intake.InvalidUsageException
-
Create a new instance with no error message and with no suggestion
that full and complete help for the command should be shown.
- InvalidUsageException(String, CommandCallable) - Constructor for exception com.sk89q.intake.InvalidUsageException
-
Create a new instance with a message and with no suggestion
that full and complete help for the command should be shown.
- InvalidUsageException(String, CommandCallable, boolean) - Constructor for exception com.sk89q.intake.InvalidUsageException
-
Create a new instance with a message.
- InvocationCommandException - Exception in com.sk89q.intake
-
Thrown when invocation of a command fails, wrapping the exception that
is thrown.
- InvocationCommandException(Throwable) - Constructor for exception com.sk89q.intake.InvocationCommandException
-
- InvocationCommandException(String, Throwable) - Constructor for exception com.sk89q.intake.InvocationCommandException
-
- InvokeHandler - Interface in com.sk89q.intake.parametric.handler
-
An invoke handler can be registered on a
ParametricBuilder to
listen in on commands being executed.
- InvokeListener - Interface in com.sk89q.intake.parametric.handler
-
- isFullHelpSuggested() - Method in exception com.sk89q.intake.InvalidUsageException
-
Return whether the full usage of the command should be shown.
- isIgnoreUnusedFlags() - Method in class com.sk89q.intake.parametric.AbstractParametricCallable
-
Get whether flags that are not used by any parameter should be
ignored so that an
UnusedArgumentException is not
thrown.
- isOptional() - Method in class com.sk89q.intake.OptionType
-
Get whether this parameter is optional.
- isProvided() - Method in interface com.sk89q.intake.parametric.Provider
-
Gets whether this provider does not actually consume values
from the argument stack and instead generates them otherwise.
- isValueFlag() - Method in class com.sk89q.intake.OptionType
-
Return whether the flag is a value flag.