java.lang.Object
java.lang.Enum<ResourceMessage>
com.winterhavenmc.library.messagebuilder.adapters.resources.ResourceMessage
All Implemented Interfaces:
Serializable, Comparable<ResourceMessage>, Constable

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

    • RESOURCE_INSTALL_SUCCESS

      public static final ResourceMessage RESOURCE_INSTALL_SUCCESS
    • RESOURCE_INSTALL_MISSING

      public static final ResourceMessage RESOURCE_INSTALL_MISSING
    • RESOURCE_INSTALL_EXCEPTION

      public static final ResourceMessage RESOURCE_INSTALL_EXCEPTION
    • RESOURCE_LOAD_SUCCESS

      public static final ResourceMessage RESOURCE_LOAD_SUCCESS
    • RESOURCE_LOAD_MISSING

      public static final ResourceMessage RESOURCE_LOAD_MISSING
    • RESOURCE_LOAD_EXCEPTION

      public static final ResourceMessage RESOURCE_LOAD_EXCEPTION
    • RESOURCE_FALLBACK_SUCCESS

      public static final ResourceMessage RESOURCE_FALLBACK_SUCCESS
    • RESOURCE_FALLBACK_MISSING

      public static final ResourceMessage RESOURCE_FALLBACK_MISSING
    • RESOURCE_FALLBACK_FAILED

      public static final ResourceMessage RESOURCE_FALLBACK_FAILED
    • RESOURCE_INVALID_FILE

      public static final ResourceMessage RESOURCE_INVALID_FILE
    • RESOURCE_INVALID_YAML

      public static final ResourceMessage RESOURCE_INVALID_YAML
    • RESOURCE_NOT_FOUND

      public static final ResourceMessage RESOURCE_NOT_FOUND
    • RESOURCE_UNREADABLE

      public static final ResourceMessage RESOURCE_UNREADABLE
    • RESOURCE_TAG_MISSING

      public static final ResourceMessage RESOURCE_TAG_MISSING
  • Method Details

    • values

      public static ResourceMessage[] 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 ResourceMessage 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
    • getDefaultMessage

      public String getDefaultMessage()
    • getLocalizedMessage

      public String getLocalizedMessage(Locale locale)
    • getLocalizedMessage

      public String getLocalizedMessage(Locale locale, Object... objects)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ResourceMessage>