@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
Package org.spongepowered.api.command.parameter
-
Interface Summary Interface Description ArgumentReader AnArgumentReaderallows for sequential reading of an inputString, by providing a "cursor" that advances when part of theStringis read.ArgumentReader.Immutable Represents aArgumentReaderwhere the cursor position cannot be changed.ArgumentReader.Mutable Represents aArgumentReaderwhere the cursor may move.CommandContext TheCommandContextcontains 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 aParameterthat 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 aParameterthat returns a parameter that concatenates all parameters into a single parameter to be executed one by one.Parameter.Subcommand AParameter.Subcommandrepresents a literal argument where, if parsed, should indicate to the command processor that theCommandExecutorof the command should change.Parameter.Subcommand.Builder Parameter.Value<T> Represents aParameterthat attempts to parse an argument to obtain a value of typeT.Parameter.Value.Builder<T> Builds aParameterfrom constituent components. -
Class Summary Class Description CommonParameters Commonly usedparametersthat can be reused in multiple commands.