Enum Class GcTableSyncPhase

java.lang.Object
java.lang.Enum<GcTableSyncPhase>
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcTableSyncPhase
All Implemented Interfaces:
Serializable, Comparable<GcTableSyncPhase>, Constable

public enum GcTableSyncPhase extends Enum<GcTableSyncPhase>
which DML phases a full-sync invocation should execute. Lets callers split the standard insert/update/delete pass when ordering matters for foreign-key integrity (e.g. parent-table inserts before child sync, parent-table deletes after child sync).
  • Enum Constant Details

    • INSERTS_UPDATES_DELETES

      public static final GcTableSyncPhase INSERTS_UPDATES_DELETES
      standard behavior: insert, update, and delete in one call
    • INSERTS_UPDATES_ONLY

      public static final GcTableSyncPhase INSERTS_UPDATES_ONLY
      insert and update only; defer deletes for a later call
    • DELETES_ONLY

      public static final GcTableSyncPhase DELETES_ONLY
      delete only; assumes inserts/updates were applied earlier
  • Method Details

    • values

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