Class ScriptedRunnable.RunnableScriptEvaluator
java.lang.Object
net.shibboleth.utilities.java.support.scripting.AbstractScriptEvaluator
net.shibboleth.utilities.java.support.scripting.ScriptedRunnable.RunnableScriptEvaluator
- Enclosing class:
- ScriptedRunnable
private class ScriptedRunnable.RunnableScriptEvaluator extends AbstractScriptEvaluator
The thing that runs the script.
-
Field Summary
Fields inherited from class net.shibboleth.utilities.java.support.scripting.AbstractScriptEvaluator
DEFAULT_ENGINE
-
Constructor Summary
Constructors Constructor Description RunnableScriptEvaluator(EvaluableScript theScript)
Constructor. -
Method Summary
Modifier and Type Method Description void
execute()
Run the script.protected void
prepareContext(ScriptContext scriptContext, Object... input)
Pre-process the script context before execution.Methods inherited from class net.shibboleth.utilities.java.support.scripting.AbstractScriptEvaluator
evaluate, finalizeContext, getCustomObject, getHideExceptions, getLogPrefix, getOutputType, getReturnOnError, setCustomObject, setHideExceptions, setLogPrefix, setOutputType, setReturnOnError
-
Constructor Details
-
RunnableScriptEvaluator
Constructor.- Parameters:
theScript
- the script we will evaluate.
-
-
Method Details
-
prepareContext
Pre-process the script context before execution.- Specified by:
prepareContext
in classAbstractScriptEvaluator
- Parameters:
scriptContext
- the script contextinput
- the input
-
execute
public void execute()Run the script. Logging as appropriate.
-