Enum Class GcTableSyncPhase
java.lang.Object
java.lang.Enum<GcTableSyncPhase>
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcTableSyncPhase
- All Implemented Interfaces:
Serializable,Comparable<GcTableSyncPhase>,Constable
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).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiondelete only; assumes inserts/updates were applied earlierstandard behavior: insert, update, and delete in one callinsert and update only; defer deletes for a later call -
Method Summary
Modifier and TypeMethodDescriptionstatic GcTableSyncPhaseReturns the enum constant of this class with the specified name.static GcTableSyncPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSERTS_UPDATES_DELETES
standard behavior: insert, update, and delete in one call -
INSERTS_UPDATES_ONLY
insert and update only; defer deletes for a later call -
DELETES_ONLY
delete only; assumes inserts/updates were applied earlier
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-