Enum Class Social.ReloadType

java.lang.Object
java.lang.Enum<Social.ReloadType>
ovh.mythmc.social.api.Social.ReloadType
All Implemented Interfaces:
Serializable, Comparable<Social.ReloadType>, Constable
Enclosing interface:
Social

public static enum Social.ReloadType extends Enum<Social.ReloadType>
Describes which parts of the plugin are affected by a reload operation.
  • Enum Constant Details

    • ALL

      public static final Social.ReloadType ALL
      Reload everything.
    • ADDONS

      public static final Social.ReloadType ADDONS
      Reload third-party addon integrations only.
    • SETTINGS

      public static final Social.ReloadType SETTINGS
      Reload configuration settings only.
    • MESSAGES

      public static final Social.ReloadType MESSAGES
      Reload user-facing message strings only.
  • Method Details

    • values

      public static Social.ReloadType[] 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 Social.ReloadType 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