Enum Class Record.State

java.lang.Object
java.lang.Enum<Record.State>
com.northconcepts.datapipeline.core.Record.State
All Implemented Interfaces:
Serializable, Comparable<Record.State>, Constable
Enclosing class:
Record

public static enum Record.State extends Enum<Record.State>
Lists the lifecycle states of a record as it flows through the pipeline.
  • Enum Constant Details

    • ALIVE

      public static final Record.State ALIVE
      Record is in normal, unmodified state.
    • NEW

      public static final Record.State NEW
      Record was just created.
    • MODIFIED

      public static final Record.State MODIFIED
      Record has been modified since it was read.
    • DELETED

      public static final Record.State DELETED
      Record has been marked for deletion and will be filtered out.
  • Method Details

    • values

      public static Record.State[] 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 Record.State 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