java.lang.Object
java.lang.Enum<Method>
org.gcube.informationsystem.resourceregistry.rest.base.Method
All Implemented Interfaces:
Serializable, Comparable<Method>, Constable

public enum Method extends Enum<Method>
Author:
Luca Frosini (ISTI - CNR)
  • Enum Constant Details

    • LIST

      public static final Method LIST
      The list action.
    • CREATE

      public static final Method CREATE
      The create action.
    • EXIST

      public static final Method EXIST
      The check existence action.
    • READ

      public static final Method READ
      The read single item action.
    • UPDATE

      public static final Method UPDATE
      The update action.
    • RUN

      public static final Method RUN
      The execution action.
    • DELETE

      public static final Method DELETE
      The delete action.
    • QUERY

      public static final Method QUERY
      The query search action.
  • Field Details

    • prefix

      protected final String prefix
      The method prefix name.
    • suffix

      protected final String suffix
      The method suffix name.
  • Method Details

    • values

      public static Method[] 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 Method 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
    • getPrefix

      public String getPrefix()
      Returns the prefix of this method.
      Returns:
      the prefix name string
    • getSuffix

      public String getSuffix()
      Returns the suffix of this method.
      Returns:
      the suffix name string