Enum Class WorldMigrationAction

java.lang.Object
java.lang.Enum<WorldMigrationAction>
com.palmergames.bukkit.config.migration.WorldMigrationAction
All Implemented Interfaces:
Serializable, Comparable<WorldMigrationAction>, Constable

public enum WorldMigrationAction extends Enum<WorldMigrationAction>
  • Enum Constant Details

    • UPDATE_WORLD_BLOCK_IGNORE

      public static final WorldMigrationAction UPDATE_WORLD_BLOCK_IGNORE
    • UPDATE_WORLD_DELETE_MAYOR

      public static final WorldMigrationAction UPDATE_WORLD_DELETE_MAYOR
    • UPDATE_WORLD_UNCLAIM_DELETE

      public static final WorldMigrationAction UPDATE_WORLD_UNCLAIM_DELETE
    • UPDATE_WILDERNESS_IGNORE_MATS

      public static final WorldMigrationAction UPDATE_WILDERNESS_IGNORE_MATS
    • UPDATE_WORLD_EXPLOSION_REVERT_BLOCKS

      public static final WorldMigrationAction UPDATE_WORLD_EXPLOSION_REVERT_BLOCKS
    • UPDATE_WORLD_EXPLOSION_REVERT_ENTITIES

      public static final WorldMigrationAction UPDATE_WORLD_EXPLOSION_REVERT_ENTITIES
    • UPDATE_WORLD_UNCLAIM_REVERT_ENTITIES

      public static final WorldMigrationAction UPDATE_WORLD_UNCLAIM_REVERT_ENTITIES
  • Method Details

    • values

      public static WorldMigrationAction[] 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 WorldMigrationAction 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
    • getAction

      public BiConsumer<TownyWorld,com.palmergames.bukkit.config.migration.Change> getAction()