Class ScriptedRunnable.RunnableScriptEvaluator
java.lang.Object
net.shibboleth.utilities.java.support.scripting.AbstractScriptEvaluator
net.shibboleth.utilities.java.support.scripting.ScriptedRunnable.RunnableScriptEvaluator
- Enclosing class:
- ScriptedRunnable
The thing that runs the script.
-
Field Summary
Fields inherited from class net.shibboleth.utilities.java.support.scripting.AbstractScriptEvaluator
DEFAULT_ENGINE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Run the script.protected voidprepareContext(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:
prepareContextin classAbstractScriptEvaluator- Parameters:
scriptContext- the script contextinput- the input
-
execute
public void execute()Run the script. Logging as appropriate.
-