Enum Class Startup

java.lang.Object
java.lang.Enum<Startup>
de.craftsblock.craftsnet.addon.meta.Startup
All Implemented Interfaces:
Serializable, Comparable<Startup>, Constable

public enum Startup extends Enum<Startup>
Enum representing the different stages of the loading process of addons.
Since:
3.2.0-SNAPSHOT
  • Enum Constant Details

    • LOAD

      public static final Startup LOAD
      Represents the loading stage of the addon load process.
    • ENABLE

      public static final Startup ENABLE
      Represents the enabling stage of the addon load process.
  • Method Details

    • values

      public static Startup[] 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 Startup 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