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.
  • Constructor Details

    • RunnableScriptEvaluator

      public RunnableScriptEvaluator​(@Nonnull EvaluableScript theScript)
      Constructor.
      Parameters:
      theScript - the script we will evaluate.
  • Method Details

    • prepareContext

      protected void prepareContext​(@Nonnull ScriptContext scriptContext, @Nullable Object... input)
      Pre-process the script context before execution.
      Specified by:
      prepareContext in class AbstractScriptEvaluator
      Parameters:
      scriptContext - the script context
      input - the input
    • execute

      public void execute()
      Run the script. Logging as appropriate.