Class CompositeIncidentHandler

java.lang.Object
org.camunda.bpm.engine.impl.incident.CompositeIncidentHandler
All Implemented Interfaces:
IncidentHandler

public class CompositeIncidentHandler extends Object implements IncidentHandler

A composite incident handler that handles incidents of a certain type by the multiple handlers. The result of handling depends on main handler.

See Also:
  • Field Details

  • Constructor Details

    • CompositeIncidentHandler

      public CompositeIncidentHandler(IncidentHandler mainIncidentHandler, List<IncidentHandler> incidentHandlers)
      Constructor that takes a list of IncidentHandler that consume the incident.
      Parameters:
      mainIncidentHandler - the main incident handler IncidentHandler that consume the incident and return result.
      incidentHandlers - the list of IncidentHandler that consume the incident.
    • CompositeIncidentHandler

      public CompositeIncidentHandler(IncidentHandler mainIncidentHandler, IncidentHandler... incidentHandlers)
      Constructor that takes a varargs parameter IncidentHandler that consume the incident.
      Parameters:
      mainIncidentHandler - the main incident handler IncidentHandler that consume the incident and return result.
      incidentHandlers - the list of IncidentHandler that consume the incident.
  • Method Details