public interface StateMachineRepository
| 限定符和类型 | 方法和说明 |
|---|---|
StateMachine |
getStateMachine(String stateMachineName,
String tenantId)
Gets get state machine.
|
StateMachine |
getStateMachine(String stateMachineName,
String tenantId,
String version)
Gets get state machine.
|
StateMachine |
getStateMachineById(String stateMachineId)
Gets get state machine by id.
|
void |
registryByResources(org.springframework.core.io.Resource[] resources,
String tenantId)
registry by resources
|
StateMachine |
registryStateMachine(StateMachine stateMachine)
Register the state machine to the repository (if the same version already exists, return the existing version)
|
StateMachine getStateMachineById(String stateMachineId)
stateMachineId - the state machine idStateMachine getStateMachine(String stateMachineName, String tenantId)
stateMachineName - the state machine nametenantId - the tenant idStateMachine getStateMachine(String stateMachineName, String tenantId, String version)
stateMachineName - the state machine nametenantId - the tenant idversion - the versionStateMachine registryStateMachine(StateMachine stateMachine)
stateMachine - void registryByResources(org.springframework.core.io.Resource[] resources,
String tenantId)
throws IOException
resources - tenantId - IOExceptionCopyright © 2019 Seata. All rights reserved.