Enum Class FlowableIdmEventType

java.lang.Object
java.lang.Enum<FlowableIdmEventType>
org.flowable.idm.api.event.FlowableIdmEventType
All Implemented Interfaces:
Serializable, Comparable<FlowableIdmEventType>, Constable, FlowableEventType

public enum FlowableIdmEventType extends Enum<FlowableIdmEventType> implements FlowableEventType
Enumeration containing all possible types of Flowable IDM events.
Author:
Frederik Heremans
  • Enum Constant Details

    • ENTITY_CREATED

      public static final FlowableIdmEventType ENTITY_CREATED
      New entity is created.
    • ENTITY_INITIALIZED

      public static final FlowableIdmEventType ENTITY_INITIALIZED
      New entity has been created and all child-entities that are created as a result of the creation of this particular entity are also created and initialized.
    • ENTITY_UPDATED

      public static final FlowableIdmEventType ENTITY_UPDATED
      Existing entity us updated.
    • ENTITY_DELETED

      public static final FlowableIdmEventType ENTITY_DELETED
      Existing entity is deleted.
    • CUSTOM

      public static final FlowableIdmEventType CUSTOM
      An event type to be used by custom events. These types of events are never thrown by the engine itself, only be an external API call to dispatch an event.
    • ENGINE_CREATED

      public static final FlowableIdmEventType ENGINE_CREATED
      The process-engine that dispatched this event has been created and is ready for use.
    • ENGINE_CLOSED

      public static final FlowableIdmEventType ENGINE_CLOSED
      The process-engine that dispatched this event has been closed and cannot be used anymore.
    • MEMBERSHIP_CREATED

      public static final FlowableIdmEventType MEMBERSHIP_CREATED
      A new membership has been created.
    • MEMBERSHIP_DELETED

      public static final FlowableIdmEventType MEMBERSHIP_DELETED
      A single membership has been deleted.
    • MEMBERSHIPS_DELETED

      public static final FlowableIdmEventType MEMBERSHIPS_DELETED
      All memberships in the related group have been deleted. No individual MEMBERSHIP_DELETED events will be dispatched due to possible performance reasons. The event is dispatched before the memberships are deleted, so they can still be accessed in the dispatch method of the listener.
  • Field Details

  • Method Details

    • values

      public static FlowableIdmEventType[] 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 FlowableIdmEventType 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
    • getTypesFromString

      public static FlowableIdmEventType[] getTypesFromString(String string)
      Parameters:
      string - the string containing a comma-separated list of event-type names
      Returns:
      an array of FlowableIdmEventType based on the given string.
      Throws:
      IllegalArgumentException - when one of the given string is not a valid type name