@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
Package org.spongepowered.api.command.parameter
-
Interface Summary Interface Description ArgumentReader AnArgumentReader
allows for sequential reading of an inputString
, by providing a "cursor" that advances when part of theString
is read.ArgumentReader.Immutable Represents aArgumentReader
where the cursor position cannot be changed.ArgumentReader.Mutable Represents aArgumentReader
where the cursor may move.CommandContext TheCommandContext
contains the parsed arguments for a command, and any other information that might be important when executing a command.CommandContext.Builder A builder for creating this context.CommandContext.Builder.Transaction A transaction on a context builder.Parameter Defines how an element of a command argument string should be parsed.Parameter.Factory Contains methods to create the generic builders.Parameter.FirstOfBuilder Specifies a builder for creating aParameter
that returns a parameter that concatenates all parameters into a single parameter to be executed one by one.Parameter.Key<T> Parameter.Key.Builder A "builder" that allows for keys to be built.Parameter.Multi A parameter that consists of multiple parametersParameter.SequenceBuilder Specifies a builder for creating aParameter
that returns a parameter that concatenates all parameters into a single parameter to be executed one by one.Parameter.Subcommand AParameter.Subcommand
represents a literal argument where, if parsed, should indicate to the command processor that theCommandExecutor
of the command should change.Parameter.Subcommand.Builder Parameter.Value<T> Represents aParameter
that attempts to parse an argument to obtain a value of typeT
.Parameter.Value.Builder<T> Builds aParameter
from constituent components. -
Class Summary Class Description CommonParameters Commonly usedparameters
that can be reused in multiple commands.