Class SignalThrowingEventListener

java.lang.Object
org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
org.activiti.engine.impl.bpmn.helper.SignalThrowingEventListener
All Implemented Interfaces:
ActivitiEventListener

public class SignalThrowingEventListener extends BaseDelegateEventListener
An ActivitiEventListener that throws a signal event when an event is dispatched to it.
  • Field Details

    • signalName

      protected String signalName
    • processInstanceScope

      protected boolean processInstanceScope
  • Constructor Details

    • SignalThrowingEventListener

      public SignalThrowingEventListener()
  • Method Details

    • onEvent

      public void onEvent(ActivitiEvent event)
      Description copied from interface: ActivitiEventListener
      Called when an event has been fired
      Parameters:
      event - the event
    • setSignalName

      public void setSignalName(String signalName)
    • setProcessInstanceScope

      public void setProcessInstanceScope(boolean processInstanceScope)
    • isFailOnException

      public boolean isFailOnException()
      Returns:
      whether or not the current operation should fail when this listeners execution throws an exception.