Enum Class IndexOperation

java.lang.Object
java.lang.Enum<IndexOperation>
dev.getelements.elements.sdk.model.index.IndexOperation
All Implemented Interfaces:
Serializable, Comparable<IndexOperation>, Constable

public enum IndexOperation extends Enum<IndexOperation>
Indicates the operation to be performed against the index.
  • Enum Constant Details

    • CREATE

      public static final IndexOperation CREATE
      Indicates the step should create the indexes.
    • LEAVE_AS_IS

      public static final IndexOperation LEAVE_AS_IS
      Leave the index as-is.
    • REPLACE

      public static final IndexOperation REPLACE
      Replace the index.
    • DELETE

      public static final IndexOperation DELETE
      Delete the index.
  • Method Details

    • values

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