Class SignalThrowingEventListener

All Implemented Interfaces:
FlowableEventListener

public class SignalThrowingEventListener extends BaseDelegateEventListener
An FlowableEventListener that throws a signal event when an event is dispatched to it.
Author:
Frederik Heremans
  • Field Details

    • signalName

      protected String signalName
    • processInstanceScope

      protected boolean processInstanceScope
  • Constructor Details

    • SignalThrowingEventListener

      public SignalThrowingEventListener()
  • Method Details

    • onEvent

      public void onEvent(FlowableEvent event)
      Description copied from interface: FlowableEventListener
      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.