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.booleanbooleanbooleanbooleanisError()booleanbooleanisLink()booleanbooleanisSignal()booleanisTimer()voidsetCompensation(boolean isCompensation) voidsetConnectedToEventBasedGateway(boolean connectedToEventBasedGateway) voidsetError(ExecutableError error) voidsetEscalation(ExecutableEscalation escalation) voidsetInterrupting(boolean interrupting) voidsetLink(boolean isLink) voidsetMessage(ExecutableMessage message) voidsetSignal(ExecutableSignal signal) 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, getEventType, getFlowScope, getId, setElementType, setEventType, 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, getEventType, 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
-
isEscalation
public boolean isEscalation()- Specified by:
isEscalationin interfaceExecutableCatchEvent
-
isLink
public boolean isLink()- Specified by:
isLinkin interfaceExecutableCatchEvent
-
isSignal
public boolean isSignal()- Specified by:
isSignalin interfaceExecutableCatchEvent
-
isCompensation
public boolean isCompensation()- Specified by:
isCompensationin 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
-
getEscalation
- Specified by:
getEscalationin interfaceExecutableCatchEvent
-
setEscalation
-
getSignal
- Specified by:
getSignalin interfaceExecutableCatchEvent
-
setSignal
-
setCompensation
public void setCompensation(boolean isCompensation) -
setLink
public void setLink(boolean isLink) -
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)
-