Enum Tag

    • Enum Constant Detail

      • COMMAND

        public static final Tag COMMAND
        Represents a command.
      • ITEM

        public static final Tag ITEM
        Represents an item.
      • CHANCE

        public static final Tag CHANCE
        Represents a chance value.
      • DISPLAY

        public static final Tag DISPLAY
        Represents an display item.
      • PERMISSION

        public static final Tag PERMISSION
        Represents a permission.
      • MESSAGE

        public static final Tag MESSAGE
        Represents an opening message.
      • BROADCAST

        public static final Tag BROADCAST
        Represents a broadcast message.
      • BROADCAST_INLINE

        public static final Tag BROADCAST_INLINE
        Represents an concatenated broadcast message.
      • PREVENT_DUPLICATE

        public static final Tag PREVENT_DUPLICATE
        Represents a unique reward.
      • ALWAYS

        public static final Tag ALWAYS
        Represents a persistent reward.
      • LEGACY_PERM

        public static final Tag LEGACY_PERM
      • LEGACY_MESSAGE

        public static final Tag LEGACY_MESSAGE
      • LEGACY_PREVENT_DUPLICATE

        public static final Tag LEGACY_PREVENT_DUPLICATE
    • Method Detail

      • values

        public static Tag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Tag c : Tag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Tag valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public String getName()
      • getTagFromValue

        public static Tag getTagFromValue​(String str)
      • contains

        public static boolean contains​(String str)