public class NSagaCallableImpl<T> extends Object implements NSagaCallable<T>
| Constructor and Description |
|---|
NSagaCallableImpl(NSagaModel model,
NSagaStore store) |
| Modifier and Type | Method and Description |
|---|---|
T |
call() |
T |
callOrElse(NCallable<T> other) |
NSagaCallable<T> |
copy() |
NSagaNodeModel |
findById(String id) |
T |
getResult() |
<V> V |
getVar(String key) |
NSagaCallable<T> |
newInstance() |
NSagaCallable<T> |
reset() |
boolean |
runStep_children(String nodeId,
List<NSagaNodeModel> list,
int idx,
String group) |
boolean |
runStep() |
NSagaCallable<T> |
setVar(String key,
Object value) |
NSagaStatus |
status() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, withDescriptiondescribepublic NSagaCallableImpl(NSagaModel model, NSagaStore store)
public NSagaCallable<T> reset()
reset in interface NSagaCallable<T>public NSagaCallable<T> newInstance()
newInstance in interface NSagaCallable<T>public NSagaStatus status()
status in interface NSagaCallable<T>public T call()
public NSagaCallable<T> copy()
copy in interface NSagaCallable<T>copy in interface NCopiablepublic boolean runStep_children(String nodeId, List<NSagaNodeModel> list, int idx, String group)
public boolean runStep()
runStep in interface NSagaCallable<T>public NSagaNodeModel findById(String id)
public T callOrElse(NCallable<T> other)
callOrElse in interface NSagaCallable<T>public <V> V getVar(String key)
getVar in interface NSagaCallable<T>public NSagaCallable<T> setVar(String key, Object value)
setVar in interface NSagaCallable<T>public T getResult()
getResult in interface NSagaCallable<T>Copyright © 2026 vpc open source initiative. All rights reserved.