Class CommandPostprocessingContext<C>
- java.lang.Object
-
- cloud.commandframework.execution.postprocessor.CommandPostprocessingContext<C>
-
- Type Parameters:
C
- Command sender type
public final class CommandPostprocessingContext<C> extends java.lang.Object
Context forcommand postprocessors
-
-
Constructor Summary
Constructors Constructor Description CommandPostprocessingContext(@NonNull CommandContext<@NonNull C> commandContext, @NonNull Command<@NonNull C> command)
Construct a new command postprocessing context
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NonNull Command<@NonNull C>
getCommand()
Get the command instance@NonNull CommandContext<@NonNull C>
getCommandContext()
Get the command contextint
hashCode()
-
-
-
Constructor Detail
-
CommandPostprocessingContext
public CommandPostprocessingContext(@NonNull CommandContext<@NonNull C> commandContext, @NonNull Command<@NonNull C> command)
Construct a new command postprocessing context- Parameters:
commandContext
- Command contextcommand
- Command instance
-
-
Method Detail
-
getCommandContext
public @NonNull CommandContext<@NonNull C> getCommandContext()
Get the command context- Returns:
- Command context
-
getCommand
public @NonNull Command<@NonNull C> getCommand()
Get the command instance- Returns:
- Command instance
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-