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.booleanbooleanbooleanisError()booleanbooleanisTimer()voidsetConnectedToEventBasedGateway(boolean connectedToEventBasedGateway) voidsetError(ExecutableError error) voidsetInterrupting(boolean interrupting) voidsetMessage(ExecutableMessage message) voidsetTimerFactory(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, setOutputMappingsMethods inherited from class io.camunda.zeebe.engine.processing.deployment.model.element.AbstractFlowElement
getElementType, getFlowScope, getId, setElementType, setFlowScopeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableCatchEvent
isInterrupting, isNoneMethods 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:
isTimerin interfaceExecutableCatchEvent
-
isMessage
public boolean isMessage()- Specified by:
isMessagein interfaceExecutableCatchEvent
-
isError
public boolean isError()- Specified by:
isErrorin interfaceExecutableCatchEvent
-
getMessage
- Specified by:
getMessagein interfaceExecutableCatchEvent
-
setMessage
-
getTimerFactory
- Specified by:
getTimerFactoryin interfaceExecutableCatchEvent
-
setTimerFactory
public void setTimerFactory(BiFunction<ExpressionProcessor, Long, Either<Failure, Timer>> timerFactory) -
getError
- Specified by:
getErrorin interfaceExecutableCatchEvent
-
setError
-
getEvents
- Specified by:
getEventsin interfaceExecutableCatchEventSupplier
-
getInterruptingElementIds
Description copied from interface:ExecutableCatchEventSupplierReturns 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:
getInterruptingElementIdsin interfaceExecutableCatchEventSupplier
-
getBoundaryElementIds
Description copied from interface:ExecutableCatchEventSupplierReturns 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:
getBoundaryElementIdsin interfaceExecutableCatchEventSupplier
-
interrupting
public boolean interrupting() -
setInterrupting
public void setInterrupting(boolean interrupting) -
isConnectedToEventBasedGateway
public boolean isConnectedToEventBasedGateway() -
setConnectedToEventBasedGateway
public void setConnectedToEventBasedGateway(boolean connectedToEventBasedGateway)
-