Enum Class GateConfig.Pairing

java.lang.Object
java.lang.Enum<GateConfig.Pairing>
dev.dokimos.core.gate.GateConfig.Pairing
All Implemented Interfaces:
Serializable, Comparable<GateConfig.Pairing>, Constable
Enclosing class:
GateConfig

public static enum GateConfig.Pairing extends Enum<GateConfig.Pairing>
How baseline and candidate items are paired.
  • Enum Constant Details

    • AUTO

      public static final GateConfig.Pairing AUTO
      Pair by datasetItemId when every item carries one, else positionally.
    • POSITIONAL

      public static final GateConfig.Pairing POSITIONAL
      Always pair by position ("item-<index>" keys).
    • DATASET_ITEM_ID

      public static final GateConfig.Pairing DATASET_ITEM_ID
      Always pair by datasetItemId (fails if any item lacks one).
  • Method Details

    • values

      public static GateConfig.Pairing[] 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 GateConfig.Pairing 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