Class CreateIncidentProcessor
- java.lang.Object
-
- io.zeebe.engine.processing.incident.CreateIncidentProcessor
-
- All Implemented Interfaces:
CommandProcessor<IncidentRecord>
public final class CreateIncidentProcessor extends Object implements CommandProcessor<IncidentRecord>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.zeebe.engine.processing.streamprocessor.CommandProcessor
CommandProcessor.CommandControl<T>
-
-
Constructor Summary
Constructors Constructor Description CreateIncidentProcessor(ZeebeState zeebeState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanonCommand(TypedRecord<IncidentRecord> command, CommandProcessor.CommandControl<IncidentRecord> commandControl)booleanrejectIncidentCreation(IncidentRecord incidentEvent, CommandProcessor.CommandControl<IncidentRecord> commandControl)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.zeebe.engine.processing.streamprocessor.CommandProcessor
onCommand
-
-
-
-
Constructor Detail
-
CreateIncidentProcessor
public CreateIncidentProcessor(ZeebeState zeebeState)
-
-
Method Detail
-
onCommand
public boolean onCommand(TypedRecord<IncidentRecord> command, CommandProcessor.CommandControl<IncidentRecord> commandControl)
- Specified by:
onCommandin interfaceCommandProcessor<IncidentRecord>
-
rejectIncidentCreation
public boolean rejectIncidentCreation(IncidentRecord incidentEvent, CommandProcessor.CommandControl<IncidentRecord> commandControl)
-
-