Enum Class Category

java.lang.Object
java.lang.Enum<Category>
de.presti.ree6.commands.Category
All Implemented Interfaces:
Serializable, Comparable<Category>, Constable

public enum Category extends Enum<Category>
Different Categories for the commands.
  • Enum Constant Details

    • INFO

      public static final Category INFO
      Category used for informativ Commands.
    • MOD

      public static final Category MOD
      Category used for moderativ Commands.
    • MUSIC

      public static final Category MUSIC
      Category used for music Commands.
    • FUN

      public static final Category FUN
      Category used for fun Commands.
    • LEVEL

      public static final Category LEVEL
      Category used for level Commands.
    • COMMUNITY

      public static final Category COMMUNITY
      Category used for community Commands.
    • ECONOMY

      public static final Category ECONOMY
      Category used for economy Commands.
    • NSFW

      public static final Category NSFW
      Category used for NSFW Commands.
    • HIDDEN

      public static final Category HIDDEN
      Category used for admin Commands.
  • Method Details

    • values

      public static Category[] 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 Category 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
    • getIcon

      public String getIcon()
      The Icon Name for the Category.
      Returns:
      the Name.
    • getIconId

      public long getIconId()
      The Icon ID for the Category.
      Returns:
      the Icon ID.
    • isIconAnimated

      public boolean isIconAnimated()
      The Information if the Icon is animated.
      Returns:
      true, if yes | false, if not.
    • getDescription

      public String getDescription()
      Short description of the Category.
      Returns:
      the short description.