Interface CommandProcessor

All Superinterfaces:
Prioritizable
All Known Subinterfaces:
CommandPostProcessor<S>, CommandPreProcessor<S>
All Known Implementing Classes:
CooldownProcessor

public interface CommandProcessor extends Prioritizable
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull Priority
    Returns the priority of the command processor.
  • Method Details

    • getPriority

      @NotNull default @NotNull Priority getPriority()
      Returns the priority of the command processor. Processors with lower priority values are executed first.

      The default priority is 50. Implementations may override this method to specify a custom priority value.

      Specified by:
      getPriority in interface Prioritizable
      Returns:
      the priority of this command processor