Enum Class ItemAction

java.lang.Object
java.lang.Enum<ItemAction>
org.gcube.common.storagehub.model.types.ItemAction
All Implemented Interfaces:
Serializable, Comparable<ItemAction>, Constable

public enum ItemAction extends Enum<ItemAction>
Author:
Federico De Faveri defaveri@isti.cnr.it
  • Enum Constant Details

    • CREATED

      public static final ItemAction CREATED
      The item has been created.
    • RENAMED

      public static final ItemAction RENAMED
      The item has been renamed.
    • MOVED

      public static final ItemAction MOVED
      The item has been moved.
    • CLONED

      public static final ItemAction CLONED
      The item has been cloned.
    • UPDATED

      public static final ItemAction UPDATED
      The item has been updates.
  • Method Details

    • values

      public static ItemAction[] 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 ItemAction 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