@Deprecated public class ProcessCtrlStateMachineEngine extends Object implements StateMachineEngine
| Constructor and Description |
|---|
ProcessCtrlStateMachineEngine()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
StateMachineInstance |
compensate(String stateMachineInstId,
Map<String,Object> replaceParams)
Deprecated.
compensate a state machine instance
|
StateMachineInstance |
compensateAsync(String stateMachineInstId,
Map<String,Object> replaceParams,
AsyncCallback callback)
Deprecated.
compensate a state machine instance asynchronously
|
StateMachineInstance |
forward(String stateMachineInstId,
Map<String,Object> replaceParams)
Deprecated.
forward restart a failed state machine instance
|
StateMachineInstance |
forwardAsync(String stateMachineInstId,
Map<String,Object> replaceParams,
AsyncCallback callback)
Deprecated.
forward restart a failed state machine instance asynchronously
|
StateMachineConfig |
getStateMachineConfig()
Deprecated.
get state machine configurations
|
StateMachineInstance |
reloadStateMachineInstance(String instId)
Deprecated.
Reload StateMachine Instance
|
void |
setStateMachineConfig(StateMachineConfig stateMachineConfig)
Deprecated.
|
StateMachineInstance |
skipAndForward(String stateMachineInstId,
Map<String,Object> replaceParams)
Deprecated.
skip current failed state instance and forward restart state machine instance
|
StateMachineInstance |
skipAndForwardAsync(String stateMachineInstId,
AsyncCallback callback)
Deprecated.
skip current failed state instance and forward restart state machine instance asynchronously
|
StateMachineInstance |
start(String stateMachineName,
String tenantId,
Map<String,Object> startParams)
Deprecated.
start a state machine instance
|
StateMachineInstance |
startAsync(String stateMachineName,
String tenantId,
Map<String,Object> startParams,
AsyncCallback callback)
Deprecated.
start a state machine instance asynchronously
|
StateMachineInstance |
startWithBusinessKey(String stateMachineName,
String tenantId,
String businessKey,
Map<String,Object> startParams)
Deprecated.
start a state machine instance with businessKey
|
StateMachineInstance |
startWithBusinessKeyAsync(String stateMachineName,
String tenantId,
String businessKey,
Map<String,Object> startParams,
AsyncCallback callback)
Deprecated.
start a state machine instance asynchronously with businessKey
|
public StateMachineInstance start(String stateMachineName, String tenantId, Map<String,Object> startParams) throws EngineExecutionException
StateMachineEnginestart in interface StateMachineEnginestateMachineName - the state machine nametenantId - the tenant idstartParams - the start paramsEngineExecutionException - the engine execution exceptionpublic StateMachineInstance startWithBusinessKey(String stateMachineName, String tenantId, String businessKey, Map<String,Object> startParams) throws EngineExecutionException
StateMachineEnginestartWithBusinessKey in interface StateMachineEnginestateMachineName - the state machine nametenantId - the tenant idbusinessKey - the businessKeystartParams - the start paramsEngineExecutionException - the engine execution exceptionpublic StateMachineInstance startAsync(String stateMachineName, String tenantId, Map<String,Object> startParams, AsyncCallback callback) throws EngineExecutionException
StateMachineEnginestartAsync in interface StateMachineEnginestateMachineName - the state machine nametenantId - the tenant idstartParams - the start paramscallback - callback after start machineEngineExecutionException - the engine execution exceptionpublic StateMachineInstance startWithBusinessKeyAsync(String stateMachineName, String tenantId, String businessKey, Map<String,Object> startParams, AsyncCallback callback) throws EngineExecutionException
StateMachineEnginestartWithBusinessKeyAsync in interface StateMachineEnginestateMachineName - the state machine nametenantId - the tenant idbusinessKey - the businessKeystartParams - the start paramscallback - the callback after start a state machineEngineExecutionException - the engine execution exceptionpublic StateMachineInstance forward(String stateMachineInstId, Map<String,Object> replaceParams) throws ForwardInvalidException
StateMachineEngineforward in interface StateMachineEnginestateMachineInstId - the state machine instance idreplaceParams - the replace paramsForwardInvalidException - forward invalid exceptionpublic StateMachineInstance forwardAsync(String stateMachineInstId, Map<String,Object> replaceParams, AsyncCallback callback) throws ForwardInvalidException
StateMachineEngineforwardAsync in interface StateMachineEnginestateMachineInstId - the state machine instance idreplaceParams - the replace paramscallback - callback after forward restart a failed state machineForwardInvalidException - the forward invalid exceptionpublic StateMachineInstance compensate(String stateMachineInstId, Map<String,Object> replaceParams) throws EngineExecutionException
StateMachineEnginecompensate in interface StateMachineEnginestateMachineInstId - the state machine idreplaceParams - the replace paramsEngineExecutionException - the engin execution exceptionpublic StateMachineInstance compensateAsync(String stateMachineInstId, Map<String,Object> replaceParams, AsyncCallback callback) throws EngineExecutionException
StateMachineEnginecompensateAsync in interface StateMachineEnginestateMachineInstId - the state machine instance idreplaceParams - the replace paramscallback - callback after compensate a failed state machineEngineExecutionException - the engine execution exceptionpublic StateMachineInstance skipAndForward(String stateMachineInstId, Map<String,Object> replaceParams) throws EngineExecutionException
StateMachineEngineskipAndForward in interface StateMachineEnginestateMachineInstId - the state machine instance idEngineExecutionException - the engine execution exceptionpublic StateMachineInstance skipAndForwardAsync(String stateMachineInstId, AsyncCallback callback) throws EngineExecutionException
StateMachineEngineskipAndForwardAsync in interface StateMachineEnginestateMachineInstId - the state machine instance idcallback - callback after skip and forward restart a failed state machineEngineExecutionException - the engine execution exceptionpublic StateMachineConfig getStateMachineConfig()
StateMachineEnginegetStateMachineConfig in interface StateMachineEnginepublic void setStateMachineConfig(StateMachineConfig stateMachineConfig)
public StateMachineInstance reloadStateMachineInstance(String instId)
StateMachineEnginereloadStateMachineInstance in interface StateMachineEngineinstId - the state machine instance idCopyright © 2025 Apache. All rights reserved.