Enum CatalogueEventType

    • Enum Constant Detail

      • ITEM_PUBLISHED

        public static final CatalogueEventType ITEM_PUBLISHED
        Someone publishes a new item
      • ITEM_SUBMITTED

        public static final CatalogueEventType ITEM_SUBMITTED
        Someone submits an item for consideration (only for catalogue moderators)
      • ITEM_REJECTED

        public static final CatalogueEventType ITEM_REJECTED
        Someone rejects a submitted item (only for item creators and catalogue moderators)
      • ITEM_REMOVED

        public static final CatalogueEventType ITEM_REMOVED
        Someone removes an item
      • ITEM_UPDATED

        public static final CatalogueEventType ITEM_UPDATED
        Someone updates an item
    • Method Detail

      • values

        public static CatalogueEventType[] 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 (CatalogueEventType c : CatalogueEventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CatalogueEventType 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