Class CommandPostprocessingContext<C>

java.lang.Object
cloud.commandframework.execution.postprocessor.CommandPostprocessingContext<C>
Type Parameters:
C - Command sender type

@API(status=STABLE) public final class CommandPostprocessingContext<C> extends Object
  • Constructor Details

    • CommandPostprocessingContext

      public CommandPostprocessingContext(@NonNull CommandContext<@NonNull C> commandContext, @NonNull Command<@NonNull C> command)
      Construct a new command postprocessing context
      Parameters:
      commandContext - Command context
      command - Command instance
  • Method Details

    • 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object