Enum Class EventKind

java.lang.Object
java.lang.Enum<EventKind>
com.axelor.meta.schema.workflows.EventKind
All Implemented Interfaces:
Serializable, Comparable<EventKind>, Constable

public enum EventKind extends Enum<EventKind>
What a <wait> or <boundary> is triggered by. A boundary accepts every kind a wait does and more; the schema and the validator narrow each element's set.
  • Enum Constant Details

    • TIMER

      public static final EventKind TIMER
    • CONDITION

      public static final EventKind CONDITION
    • ERROR

      public static final EventKind ERROR
    • MESSAGE

      public static final EventKind MESSAGE
    • SIGNAL

      public static final EventKind SIGNAL
  • Method Details

    • values

      public static EventKind[] 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 EventKind 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
    • family

      public EventKind.Family family()
      This trigger's family: a switch with no default, so a new kind cannot belong to none.
    • token

      public String token()
      The token an author writes, for naming a kind back to them in a violation.
    • parks

      public boolean parks()
      Whether a run can park waiting for this; a <wait> takes only these kinds.