Enum Class ProcessorScope

java.lang.Object
java.lang.Enum<ProcessorScope>
com.fastasyncworldedit.core.extent.processor.ProcessorScope
All Implemented Interfaces:
Serializable, Comparable<ProcessorScope>, Constable

public enum ProcessorScope extends Enum<ProcessorScope>
The scope of a processor. Order in which processors are executed: - ADDING_BLOCKS (processors that strictly ADD blocks to an edit ONLY) - CHANGING_BLOCKS (processors that strictly ADD or CHANGE blocks being set) - REMOVING_BLOCKS (processors that string ADD, CHANGE or REMOVE blocks being set) - CUSTOM (processors that do not specify a SCOPE) - READING_SET_BLOCKS (processors that do not alter blocks at all, and read the blocks that are actually going to set, e.g. history processors)
  • Enum Constant Details

  • Method Details

    • values

      public static ProcessorScope[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProcessorScope valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • intValue

      public int intValue()
    • valueOf

      public static ProcessorScope valueOf(int value)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null