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