Enum Class TriggerPoint

java.lang.Object
java.lang.Enum<TriggerPoint>
com.genologics.ri.processtype.TriggerPoint
All Implemented Interfaces:
Serializable, Comparable<TriggerPoint>, Constable

public enum TriggerPoint extends Enum<TriggerPoint>
The trigger-point enumeration lists the possible values of the EPP Trigger point attribute.
Since:
2.25
  • Enum Constant Details

    • BEFORE

      public static final TriggerPoint BEFORE
      The trigger executes before the step.
    • AFTER

      public static final TriggerPoint AFTER
      The trigger executes after the step.
  • Method Details

    • values

      public static TriggerPoint[] 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 TriggerPoint 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
    • value

      public String value()
      Gets the XML value of this trigger point.
      Returns:
      the XML value (the enum name).
    • fromValue

      public static TriggerPoint fromValue(String v)
      Gets the trigger point corresponding to the specified XML value.
      Parameters:
      v - the XML value.
      Returns:
      the corresponding trigger point.