Class ExecutableCatchEventElement
java.lang.Object
io.camunda.zeebe.engine.processing.deployment.model.element.AbstractFlowElement
io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode
io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableCatchEventElement
- All Implemented Interfaces:
ExecutableCatchEvent
,ExecutableCatchEventSupplier
,ExecutableFlowElement
- Direct Known Subclasses:
ExecutableBoundaryEvent
,ExecutableStartEvent
public class ExecutableCatchEventElement
extends ExecutableFlowNode
implements ExecutableCatchEvent, ExecutableCatchEventSupplier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.agrona.DirectBuffer>
Returns the ids of the boundary events.getError()
Collection<org.agrona.DirectBuffer>
Returns the ids of the containing elements that interrupt the event scope (e.g.boolean
boolean
boolean
isError()
boolean
boolean
isTimer()
void
setConnectedToEventBasedGateway
(boolean connectedToEventBasedGateway) void
setError
(ExecutableError error) void
setInterrupting
(boolean interrupting) void
setMessage
(ExecutableMessage message) void
setTimerFactory
(BiFunction<ExpressionProcessor, Long, Either<Failure, Timer>> timerFactory) Methods inherited from class io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode
addIncoming, addOutgoing, getIncoming, getInputMappings, getOutgoing, getOutputMappings, setInputMappings, setOutputMappings
Methods inherited from class io.camunda.zeebe.engine.processing.deployment.model.element.AbstractFlowElement
getElementType, getFlowScope, getId, setElementType, setFlowScope
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableCatchEvent
isInterrupting, isNone
Methods inherited from interface io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowElement
getElementType, getFlowScope, getId
-
Constructor Details
-
ExecutableCatchEventElement
-
-
Method Details
-
isTimer
public boolean isTimer()- Specified by:
isTimer
in interfaceExecutableCatchEvent
-
isMessage
public boolean isMessage()- Specified by:
isMessage
in interfaceExecutableCatchEvent
-
isError
public boolean isError()- Specified by:
isError
in interfaceExecutableCatchEvent
-
getMessage
- Specified by:
getMessage
in interfaceExecutableCatchEvent
-
setMessage
-
getTimerFactory
- Specified by:
getTimerFactory
in interfaceExecutableCatchEvent
-
setTimerFactory
public void setTimerFactory(BiFunction<ExpressionProcessor, Long, Either<Failure, Timer>> timerFactory) -
getError
- Specified by:
getError
in interfaceExecutableCatchEvent
-
setError
-
getEvents
- Specified by:
getEvents
in interfaceExecutableCatchEventSupplier
-
getInterruptingElementIds
Description copied from interface:ExecutableCatchEventSupplier
Returns the ids of the containing elements that interrupt the event scope (e.g. interrupting event subprocesses). An interrupted event scope can not be triggered by other interrupting or non-interrupting events. But the event scope can still be triggered by boundary events.- Specified by:
getInterruptingElementIds
in interfaceExecutableCatchEventSupplier
-
getBoundaryElementIds
Description copied from interface:ExecutableCatchEventSupplier
Returns the ids of the boundary events. An interrupting boundary event must return its id also withExecutableCatchEventSupplier.getInterruptingElementIds()
. Otherwise, it is handled as non-interrupting boundary event.- Specified by:
getBoundaryElementIds
in interfaceExecutableCatchEventSupplier
-
interrupting
public boolean interrupting() -
setInterrupting
public void setInterrupting(boolean interrupting) -
isConnectedToEventBasedGateway
public boolean isConnectedToEventBasedGateway() -
setConnectedToEventBasedGateway
public void setConnectedToEventBasedGateway(boolean connectedToEventBasedGateway)
-