Module org.jooq
Package org.jooq

Enum Class TriggerExecution

All Implemented Interfaces:
Serializable, Comparable<TriggerExecution>, Constable

@Pro public enum TriggerExecution extends Enum<TriggerExecution>
The execution scope of a trigger.
Author:
Lukas Eder
  • Enum Constant Details

    • FOR_EACH_ROW

      public static final TriggerExecution FOR_EACH_ROW
      The trigger executes FOR EACH ROW.
    • FOR_EACH_STATEMENT

      public static final TriggerExecution FOR_EACH_STATEMENT
      The trigger executes FOR EACH STATEMENT.
  • Method Details

    • values

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