Enum Class ActivityStartBehavior

java.lang.Object
java.lang.Enum<ActivityStartBehavior>
org.camunda.bpm.engine.impl.pvm.process.ActivityStartBehavior
All Implemented Interfaces:
Serializable, Comparable<ActivityStartBehavior>, Constable

public enum ActivityStartBehavior extends Enum<ActivityStartBehavior>
Defines the start behavior for activities.
Author:
Daniel Meyer
  • Enum Constant Details

    • DEFAULT

      public static final ActivityStartBehavior DEFAULT
      Default start behavior for an activity is to "do nothing special". Meaning: the activity is executed by the execution which enters it. NOTE: Only activities contained in normal flow can have DEFALUT start behavior.
    • INTERRUPT_FLOW_SCOPE

      public static final ActivityStartBehavior INTERRUPT_FLOW_SCOPE
      Used for activities which interrupt their flow scope. Examples: - Terminate end event - Cancel end event NOTE: can only be used for activities contained in normal flow
    • CONCURRENT_IN_FLOW_SCOPE

      public static final ActivityStartBehavior CONCURRENT_IN_FLOW_SCOPE
      Used for activities which are executed concurrently to activities within the same flowScope.
    • INTERRUPT_EVENT_SCOPE

      public static final ActivityStartBehavior INTERRUPT_EVENT_SCOPE
      Used for activities which interrupt their event scope NOTE: cannot only be used for activities contained in normal flow
    • CANCEL_EVENT_SCOPE

      public static final ActivityStartBehavior CANCEL_EVENT_SCOPE
      Used for activities which cancel their event scope. - Boundary events with cancelActivity=true NOTE: cannot only be used for activities contained in normal flow
  • Method Details

    • values

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