Package io.zeebe.engine.processing.job
Class CancelProcessor
- java.lang.Object
-
- io.zeebe.engine.processing.job.CancelProcessor
-
- All Implemented Interfaces:
CommandProcessor<JobRecord>
public final class CancelProcessor extends Object implements CommandProcessor<JobRecord>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.zeebe.engine.processing.streamprocessor.CommandProcessor
CommandProcessor.CommandControl<T>
-
-
Field Summary
Fields Modifier and Type Field Description static StringNO_JOB_FOUND_MESSAGE
-
Constructor Summary
Constructors Constructor Description CancelProcessor(JobState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanonCommand(TypedRecord<JobRecord> command, CommandProcessor.CommandControl<JobRecord> 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
-
-
-
-
Field Detail
-
NO_JOB_FOUND_MESSAGE
public static final String NO_JOB_FOUND_MESSAGE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CancelProcessor
public CancelProcessor(JobState state)
-
-
Method Detail
-
onCommand
public boolean onCommand(TypedRecord<JobRecord> command, CommandProcessor.CommandControl<JobRecord> commandControl)
- Specified by:
onCommandin interfaceCommandProcessor<JobRecord>
-
-