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
boolean
isError()
boolean
boolean
isLink()
boolean
boolean
isSignal()
boolean
isTimer()
void
setCompensation
(boolean isCompensation) void
setConnectedToEventBasedGateway
(boolean connectedToEventBasedGateway) void
setError
(ExecutableError error) void
setEscalation
(ExecutableEscalation escalation) void
setInterrupting
(boolean interrupting) void
setLink
(boolean isLink) void
setMessage
(ExecutableMessage message) void
setSignal
(ExecutableSignal signal) 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, getEventType, getFlowScope, getId, setElementType, setEventType, 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, getEventType, 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
-
isEscalation
public boolean isEscalation()- Specified by:
isEscalation
in interfaceExecutableCatchEvent
-
isLink
public boolean isLink()- Specified by:
isLink
in interfaceExecutableCatchEvent
-
isSignal
public boolean isSignal()- Specified by:
isSignal
in interfaceExecutableCatchEvent
-
isCompensation
public boolean isCompensation()- Specified by:
isCompensation
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
-
getEscalation
- Specified by:
getEscalation
in interfaceExecutableCatchEvent
-
setEscalation
-
getSignal
- Specified by:
getSignal
in interfaceExecutableCatchEvent
-
setSignal
-
setCompensation
public void setCompensation(boolean isCompensation) -
setLink
public void setLink(boolean isLink) -
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)
-