Package net.shibboleth.shared.scripting
Class ScriptedRunnable.RunnableScriptEvaluator
java.lang.Object
net.shibboleth.shared.scripting.AbstractScriptEvaluator
net.shibboleth.shared.scripting.ScriptedRunnable.RunnableScriptEvaluator
- Enclosing class:
- ScriptedRunnable
The thing that runs the script.
-
Field Summary
Fields inherited from class net.shibboleth.shared.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.shared.scripting.AbstractScriptEvaluator
evaluate, finalizeContext, getCustomObject, getHideExceptions, getLogPrefix, getOutputType, getReturnOnError, setContextExtenders, setCustomObject, setHideExceptions, setLogPrefix, setOutputType, setReturnOnError
-
Constructor Details
-
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.
-