Class ScriptRuntimeEngine
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.scripting.ScriptRuntimeEngine
-
-
Constructor Summary
Constructors Constructor Description ScriptRuntimeEngine()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
clearScriptSet()
abstract void
deserializeState(String state, String version)
ScriptSet
getScriptSet()
StateInterface
getState()
boolean
isInitialized()
If the engine has had the scripts already injected, then this will returntrue
.abstract ScriptRunResponse
run(ScriptRunRequest request)
abstract String
serializeState()
abstract String
serializeState(String version)
void
setInitialized(boolean initialized)
void
setScriptSet(ScriptSet scriptSet)
void
setState(StateInterface state)
-
-
-
Method Detail
-
getState
public StateInterface getState()
-
setState
public void setState(StateInterface state)
-
serializeState
public abstract String serializeState()
-
getScriptSet
public ScriptSet getScriptSet()
-
setScriptSet
public void setScriptSet(ScriptSet scriptSet)
-
clearScriptSet
public void clearScriptSet()
-
run
public abstract ScriptRunResponse run(ScriptRunRequest request)
-
isInitialized
public boolean isInitialized()
If the engine has had the scripts already injected, then this will returntrue
.- Returns:
-
setInitialized
public void setInitialized(boolean initialized)
-
-