Class TerminateEventDefinition

All Implemented Interfaces:
HasExtensionAttributes

public class TerminateEventDefinition extends EventDefinition
Author:
Tijs Rademakers, Joram Barrez
  • Field Details

    • terminateAll

      protected boolean terminateAll
      When true, this event will terminate all parent process instances (in the case of using call activity), thus ending the whole process instance. By default false (BPMN spec compliant): the parent scope is terminated (subprocess: embedded or call activity)
    • terminateMultiInstance

      protected boolean terminateMultiInstance
      When true (and used within a multi instance), this event will terminate all multi instance instances of the embedded subprocess/call activity this event is used in. In case of nested multi instance, only the first parent multi instance structure will be destroyed. In case of 'true' and not being in a multi instance construction: executes the default behavior. Note: if terminate all is set to true, this will have precedence over this.
  • Constructor Details

    • TerminateEventDefinition

      public TerminateEventDefinition()
  • Method Details

    • clone

      public TerminateEventDefinition clone()
      Specified by:
      clone in class EventDefinition
    • setValues

      public void setValues(TerminateEventDefinition otherDefinition)
    • isTerminateAll

      public boolean isTerminateAll()
    • setTerminateAll

      public void setTerminateAll(boolean terminateAll)
    • isTerminateMultiInstance

      public boolean isTerminateMultiInstance()
    • setTerminateMultiInstance

      public void setTerminateMultiInstance(boolean terminateMultiInstance)