RhinoWorkerUtils.ScopeOperation<T>
public static class RhinoWorkerUtils.DefaultScopeOperation<T> extends java.lang.Object implements RhinoWorkerUtils.ScopeOperation<T>
Constructor | Description |
---|---|
DefaultScopeOperation() |
Modifier and Type | Method | Description |
---|---|---|
T |
action(org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Context context) |
|
void |
initContext(org.mozilla.javascript.Context context) |
public void initContext(org.mozilla.javascript.Context context)
initContext
in interface RhinoWorkerUtils.ScopeOperation<T>
public T action(org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Context context)
action
in interface RhinoWorkerUtils.ScopeOperation<T>