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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()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 Detail
-
RunnableScriptEvaluator
public RunnableScriptEvaluator(@Nonnull EvaluableScript theScript)Constructor.- Parameters:
theScript- the script we will evaluate.
-
-
Method Detail
-
prepareContext
protected void prepareContext(@Nonnull ScriptContext scriptContext, @Nullable Object... input)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.
-
-