Enum ActivityStartBehavior

    • Enum Constant Detail

      • 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 Detail

      • values

        public static ActivityStartBehavior[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ActivityStartBehavior c : ActivityStartBehavior.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ActivityStartBehavior valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null