CommandContext.Builder<M> |
CommandContext.Builder.withAdditionalData(String key,
Object value) |
Sets the additional data for the given key to the given value and returns this builder
for method call chaining.
|
CommandContext.Builder<M> |
CommandContext.Builder.withAlias(String alias) |
Sets the alias of the triggered command and returns this builder for method call chaining.
|
CommandContext.Builder<M> |
CommandContext.withAlias(String alias) |
Returns a builder that will create a new command context based on this instance with the given alias.
|
CommandContext.Builder<M> |
CommandContext.Builder.withCommand(Command<? super M> command) |
Sets the command that is triggered and returns this builder for method call chaining.
|
CommandContext.Builder<M> |
CommandContext.withCommand(Command<? super M> command) |
Returns a builder that will create a new command context based on this instance with the given command.
|
CommandContext.Builder<M> |
CommandContext.Builder.withMessage(M message) |
Sets the message that triggered the command processing and returns this builder for method call chaining.
|
CommandContext.Builder<M> |
CommandContext.withMessage(M message) |
Returns a builder that will create a new command context based on this instance with the given message.
|
CommandContext.Builder<M> |
CommandContext.Builder.withMessageContent(String messageContent) |
Sets the content of the message that triggered the command processing and returns this builder
for method call chaining.
|
CommandContext.Builder<M> |
CommandContext.withMessageContent(String messageContent) |
Returns a builder that will create a new command context based on this instance with the given message content.
|
CommandContext.Builder<M> |
CommandContext.Builder.withoutAdditionalData() |
Removes all additional data and returns this builder for method call chaining.
|
CommandContext.Builder<M> |
CommandContext.Builder.withoutAdditionalData(String key) |
Removes the additional data for the given key and returns this builder for method call chaining.
|
CommandContext.Builder<M> |
CommandContext.Builder.withParameterString(String parameterString) |
Sets the parameter string to be processed by the triggered command and returns this builder
for method call chaining.
|
CommandContext.Builder<M> |
CommandContext.withParameterString(String parameterString) |
Returns a builder that will create a new command context based on this instance with the given parameter string.
|
CommandContext.Builder<M> |
CommandContext.Builder.withPrefix(String prefix) |
Sets the prefix that the message has to start with to trigger a command and returns this builder
for method call chaining.
|
CommandContext.Builder<M> |
CommandContext.withPrefix(String prefix) |
Returns a builder that will create a new command context based on this instance with the given prefix.
|