All Classes and Interfaces
Class
Description
CommandPostprocessor
that does nothing besides indicating that the context
has been properly processedCommandPreprocessor
that does nothing besides indicating that the context
has been properly processedException thrown when a
CommandContext
is being inserted into a CommandTree
and an ambiguity
is detected.Accepts if every single permission is accepted.
Managed access for
Annotation
instancesAnnotation accessor that cannot access any annotations
A description for a
CommandArgument
A compound argument consisting of two inner arguments
Parser that parses strings into values of a specific type
Result of the parsing done by a
ArgumentParser
A compound argument consisting of three inner arguments
Execution coordinator parses and/or executes commands on a separate thread from the calling thread
Builder for
AsynchronousCommandExecutionCoordinator
instancesBoolean parse exception
Byte parse exception
This is a reference to a caption and does not contain any message itself
Registry that allows for messages to be configurable per-sender
Key-value pair used to replace variables in captions
Utility that replaces variables in captions
Char parse exception
Represents a capability that a cloud implementation may have.
Exception thrown when a
CloudCapability
is missing, when a method that requires the presence of that
capability is invoked.Standard
capabilities
.A typed, named key
Represents any object that holds a
CloudKey
A command consists out of a chain of
command arguments
.Builder for
Command
instances.Essentially a
UnaryOperator
for Command.Builder
,
but as a separate interface to avoid conflicts.A argument that belongs to a command
Mutable builder for
CommandArgument
instancesA variant of builders designed for subclassing, that returns a self type.
A single literal or argument component of a command
Manager for the command confirmation system that enables the ability to add "confirmation" requirements to commands,
such that they need to be confirmed in order to be executed.
Command context used to assist in the parsing of commands
Used to track performance metrics related to command parsing.
Factory for
CommandContext
instancesThe command execution coordinator is responsible for
coordinating command execution.
A simple command execution coordinator that executes all commands immediately, on the calling thread
Exception thrown when there is an exception during execution of a command handler
Handler that is invoked whenever a
Command
is executed
by a command senderHandler that is invoked whenever a
Command
is executed
by a command senderDelegates to other handlers.
Command execution handler that does nothing
A flag is an optional command argument that may have an associated parser,
and is identified by its name.
Something that can be returned as the result of a help query
Index of available commands
Help topic with multiple semi-verbose command descriptions
Verbose information about a specific
Command
Tokenizer that splits command inputs into tokens.
The manager is responsible for command registration, parsing delegation, etc.
Configurable command related settings
The point in the registration lifecycle for this commands manager
Object that is associated with a
Command
.A key into the metadata map.
Exception thrown when parsing user input into a command
A command permission representation.
Context for
command postprocessors
Command postprocessor that acts on commands before execution
Context for
command preprocessors
Command preprocessor that gets to act on command input
before it's sent to the command parser.
Utility that registers commands natively for whatever
platform the library is used in.
The result of a command execution
Handler that produces command suggestions depending on input
Processor that formats command suggestions
Utility that formats chains of
command arguments
into syntax stringsTree containing all commands and command paths.
Very simple tree structure
Command completions, separated by "," or ", "
Compound argument
Command suggestion engine that delegates to a
CommandTree
Factory that produces
DelegatingCommandSuggestionEngine
instancesDeprecated.
to become package-private since 1.4.0.
Parses
Duration
from a 1d2h3m4s
format.Builder for
DurationArgument
.Failure exception for
DurationArgument.Parser
.Parser for
Duration
.Dynamic sized tuple backed by a
Object[]
Argument type that recognizes enums
Caption registry that delegates to factory methods
Command suggestion processor filters suggestions based on the remaining unconsumed input in the
queue.
Filter function that tests (and potentially changes) each suggestion against the input and context.
Simple version of
FilteringCommandSuggestionProcessor.Filter
which doesn't modify suggestions.Container for flag parsing logic.
Reasons for which flag parsing may fail
Flag parse exception
Flag value mappings
Indicates that the argument should stop parsing when encountering what
could potentially be a flag.
Annotation used to make
string arguments
greedyInjection service
that injects using a Guice Injector
Service that can be registered to the
ParameterInjectorRegistry
in order to provide
custom injection support.Exception thrown when an invalid command sender tries to execute a command
Exception sent when a command sender inputs invalid command syntax
Annotation used to set the parsing mode of a
boolean
argument
to liberal.Deprecated.
Use a normal
CommandManager
's registration state insteadAn argument parser which wraps another argument parser, converting the output type.
Thrown when a
CommandArgument
that is registered as a leaf node, does not contain an owning Command
An exception which is thrown when an argument's input is unexpectedly null or empty
Exception thrown when a command sender misses a permission required
to execute a
Command
Exception thrown when a command sender tries to execute
a command that doesn't exist
Accepts as long as at least one of the permissions is accepted
Immutable generic 2-tuple
Injector that injects parameters into CommandMethod annotated
methods
Parser parameter used when retrieving parsers from the
ParserRegistry
Registry of
ArgumentParser
that allows these arguments to be
referenced by a Class
(or really, a TypeToken
)
or a String
keyCommandArgument
permissionA functional
CommandPermission
implementationImmutable generic 5-tuple
Immutable generic 5-tuple
Annotation used to set the parsing mode of a
string
argument
to quoted.Used to specify min and max values of numerical
parsers
Command preprocessor that filters based on regular expressions
Exception thrown when input fails regex matching in
RegexPreprocessor
Immutable generic 6-tuple
Caption registry that uses bi-functions to produce messages
Factory creating
SimpleCaptionRegistry
instancesSimple implementation of
CaptionVariableReplacementHandler
Simple immutable implementation of
CloudKey
.A simple immutable string-string map containing command meta
Builder for
SimpleCommandMeta
Caption
instances for messages in cloud-coreCommandSyntaxFormatter
implementation that uses the following rules:
static arguments are serialized as their name, without a bracket
required arguments are serialized as their name, surrounded by angle brackets
optional arguments are serialized as their name, surrounded by square brackets
Instance that is used when building command syntax
Common parser parameters used when resolving types in the
ParserRegistry
Standard implementation of
ParserRegistry
CommandArgument
type that recognizes fixed strings.This is a command argument type that essentially mimics
StringArgument.greedy(String)
,
but then splits the input string into a string array.Parser that parses input into a string array
String utilities
Immutable generic 3-tuple
Tuple type