public interface StatusDecisionStrategy
| Modifier and Type | Method and Description |
|---|---|
boolean |
decideMachineForwardExecutionStatus(StateMachineInstance stateMachineInstance,
Exception exp,
boolean specialPolicy)
Determine the forward execution state of the state machine
|
void |
decideOnEndState(ProcessContext context,
StateMachineInstance stateMachineInstance,
Exception exp)
Determine state machine execution status when executing to EndState
|
void |
decideOnTaskStateFail(ProcessContext context,
StateMachineInstance stateMachineInstance,
Exception exp)
Determine state machine execution status when executing TaskState error
|
void decideOnEndState(ProcessContext context, StateMachineInstance stateMachineInstance, Exception exp)
context - the process contextstateMachineInstance - the state machine instanceexp - exceptionvoid decideOnTaskStateFail(ProcessContext context, StateMachineInstance stateMachineInstance, Exception exp)
context - stateMachineInstance - exp - boolean decideMachineForwardExecutionStatus(StateMachineInstance stateMachineInstance, Exception exp, boolean specialPolicy)
stateMachineInstance - the state machine instanceexp - the exceptionspecialPolicy - is special policyCopyright © 2023 Seata. All rights reserved.