Enum Indexed.Action

java.lang.Object
java.lang.Enum<Indexed.Action>
com.erudika.para.core.annotations.Indexed.Action
All Implemented Interfaces:
Serializable, Comparable<Indexed.Action>
Enclosing class:
Indexed

public static enum Indexed.Action extends Enum<Indexed.Action>
The search action performed.
  • Enum Constant Details

    • NOOP

      public static final Indexed.Action NOOP
      No operation. Do nothing.
    • ADD

      public static final Indexed.Action ADD
      Adds an object to index.
    • REMOVE

      public static final Indexed.Action REMOVE
      Removes object from index.
    • ADD_ALL

      public static final Indexed.Action ADD_ALL
      Adds many objects to index.
    • REMOVE_ALL

      public static final Indexed.Action REMOVE_ALL
      Removes many objects from index.
  • Method Details

    • values

      public static Indexed.Action[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Indexed.Action 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