public class NSagaCallableImpl<T> extends Object implements net.thevpc.nuts.concurrent.NSagaCallable<T>
| Constructor and Description |
|---|
NSagaCallableImpl(net.thevpc.nuts.concurrent.NSagaModel model,
net.thevpc.nuts.concurrent.NSagaStore store) |
| Modifier and Type | Method and Description |
|---|---|
T |
call() |
T |
callOrElse(net.thevpc.nuts.concurrent.NCallable<T> other) |
net.thevpc.nuts.concurrent.NSagaCallable<T> |
copy() |
net.thevpc.nuts.concurrent.NSagaNodeModel |
findById(String id) |
<V> V |
getVar(String key) |
net.thevpc.nuts.concurrent.NSagaCallable<T> |
newInstance() |
net.thevpc.nuts.concurrent.NSagaCallable<T> |
reset() |
T |
result() |
boolean |
runStep_children(String nodeId,
List<net.thevpc.nuts.concurrent.NSagaNodeModel> list,
int idx,
String group) |
boolean |
runStep() |
net.thevpc.nuts.concurrent.NSagaCallable<T> |
setVar(String key,
Object value) |
net.thevpc.nuts.concurrent.NSagaStatus |
status() |
public NSagaCallableImpl(net.thevpc.nuts.concurrent.NSagaModel model,
net.thevpc.nuts.concurrent.NSagaStore store)
public net.thevpc.nuts.concurrent.NSagaCallable<T> reset()
reset in interface net.thevpc.nuts.concurrent.NSagaCallable<T>public net.thevpc.nuts.concurrent.NSagaCallable<T> newInstance()
newInstance in interface net.thevpc.nuts.concurrent.NSagaCallable<T>public net.thevpc.nuts.concurrent.NSagaStatus status()
status in interface net.thevpc.nuts.concurrent.NSagaCallable<T>public T call()
public net.thevpc.nuts.concurrent.NSagaCallable<T> copy()
copy in interface net.thevpc.nuts.concurrent.NSagaCallable<T>copy in interface net.thevpc.nuts.util.NCopiablepublic boolean runStep_children(String nodeId, List<net.thevpc.nuts.concurrent.NSagaNodeModel> list, int idx, String group)
public boolean runStep()
runStep in interface net.thevpc.nuts.concurrent.NSagaCallable<T>public net.thevpc.nuts.concurrent.NSagaNodeModel findById(String id)
public T callOrElse(net.thevpc.nuts.concurrent.NCallable<T> other)
callOrElse in interface net.thevpc.nuts.concurrent.NSagaCallable<T>public <V> V getVar(String key)
getVar in interface net.thevpc.nuts.concurrent.NSagaCallable<T>public net.thevpc.nuts.concurrent.NSagaCallable<T> setVar(String key, Object value)
setVar in interface net.thevpc.nuts.concurrent.NSagaCallable<T>Copyright © 2026 vpc open source initiative. All rights reserved.