Enum Class CommonSetupSteps

java.lang.Object
java.lang.Enum<CommonSetupSteps>
com.plotsquared.core.setup.CommonSetupSteps
All Implemented Interfaces:
SetupStep, Serializable, Comparable<CommonSetupSteps>, Constable

public enum CommonSetupSteps extends Enum<CommonSetupSteps> implements SetupStep
  • Enum Constant Details

  • Method Details

    • values

      public static CommonSetupSteps[] 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 CommonSetupSteps 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
    • announce

      public void announce(PlotPlayer<?> plotPlayer)
      Description copied from interface: SetupStep
      Announces this step to the player.
      Specified by:
      announce in interface SetupStep
      Parameters:
      plotPlayer - the player to announce this step to.
    • getSuggestions

      public @NonNull Collection<String> getSuggestions()
      Specified by:
      getSuggestions in interface SetupStep