Enum Class BaseActionRestPath

java.lang.Object
java.lang.Enum<BaseActionRestPath>
io.github.astrapi69.spring.rest.BaseActionRestPath
All Implemented Interfaces:
Serializable, Comparable<BaseActionRestPath>, Constable

public enum BaseActionRestPath extends Enum<BaseActionRestPath>
The enum class BaseActionRestPath holds constants for the base action that follows after base rest paths
  • Enum Constant Details

    • SAVE

      public static final BaseActionRestPath SAVE
      The constant for the action save
    • PERSIST

      public static final BaseActionRestPath PERSIST
      The constant for the action persist.
    • UPDATE

      public static final BaseActionRestPath UPDATE
      The constant for the action update.
    • SAVE_OR_UPDATE

      public static final BaseActionRestPath SAVE_OR_UPDATE
      The constant for the action save or update
    • DELETE

      public static final BaseActionRestPath DELETE
      The constant for the action delete
    • FIND

      public static final BaseActionRestPath FIND
      The constant for the action find
    • FIND_BY

      public static final BaseActionRestPath FIND_BY
      The constant for the action find by
    • FIND_ALL

      public static final BaseActionRestPath FIND_ALL
      The constant for the action find all
    • FIND_BY_NAME

      public static final BaseActionRestPath FIND_BY_NAME
      The constant for the action find by name
  • Field Details

  • Method Details

    • values

      public static BaseActionRestPath[] 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 BaseActionRestPath 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
    • getValue

      public String getValue()