Class EmitCompletedCommand
java.lang.Object
org.chenile.orchestrator.process.service.outbox.AbstractProcessOutboxCommand
org.chenile.orchestrator.process.service.outbox.EmitCompletedCommand
- All Implemented Interfaces:
OutboxCommandLifecycle<ProcessTransition>
-
Field Summary
FieldsFields inherited from class AbstractProcessOutboxCommand
independent, mapper -
Constructor Summary
ConstructorsConstructorDescriptionEmitCompletedCommand(ProcessOutboxRepository outbox, ObjectMapper mapper, PlatformTransactionManager transactionManager, EventProcessor events) -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessCompletedEventcompletedEvent(Process process, State terminalState) protected voiddispatchCommand(OutboxCommand entry) voidenqueue(ProcessTransition transition) booleanshouldEnqueue(ProcessTransition transition) type()Methods inherited from class AbstractProcessOutboxCommand
checkIdempotency, deadCommand, dispatch, onDead, read, store, terminalMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OutboxCommandLifecycle
executionHeaders
-
Field Details
-
events
-
TYPE
- See Also:
-
-
Constructor Details
-
EmitCompletedCommand
public EmitCompletedCommand(ProcessOutboxRepository outbox, ObjectMapper mapper, PlatformTransactionManager transactionManager, EventProcessor events)
-
-
Method Details
-
type
-
shouldEnqueue
-
enqueue
- Throws:
Exception
-
dispatchCommand
- Specified by:
dispatchCommandin classAbstractProcessOutboxCommand- Throws:
Exception
-
completedEvent
-
CHENILE