public interface CommandParameters extends InjectedValueAccess
EMPTY
Modifier and Type | Method and Description |
---|---|
ArgumentConverterAccess |
getConverters()
Get the converters used in this call.
|
CommandMetadata |
getMetadata()
Gets the metadata for the command being called.
|
boolean |
has(CommandPart part)
Checks if the parameters contain the specified part.
|
CommandValue |
valueOf(ArgAcceptingCommandPart part)
Gets the value of the specified part, throwing if it
is not present or if
there are multiple values.
|
injectedValue, injectedValue
boolean has(CommandPart part)
part
- - the part to look forCommandValue valueOf(ArgAcceptingCommandPart part)
part
- - the part to look for@Nullable CommandMetadata getMetadata()
ArgumentConverterAccess getConverters()