Enum Class Method

java.lang.Object
java.lang.Enum<Method>
ch.oliumbi.compass.core.enums.Method
All Implemented Interfaces:
Translatable<String>, Serializable, Comparable<Method>, Constable

public enum Method extends Enum<Method> implements Translatable<String>
  • Enum Constant Details

    • READ

      public static final Method READ
    • CREATE

      public static final Method CREATE
    • UPDATE

      public static final Method UPDATE
    • DELETE

      public static final Method DELETE
  • Field Details

    • LOGGER

      public static final org.slf4j.Logger LOGGER
  • 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
    • create

      public static Method create(String string)
    • translate

      public String translate()
      Specified by:
      translate in interface Translatable<String>