Class ScriptedRunnable.RunnableScriptEvaluator

    • 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:
        prepareContext in class AbstractScriptEvaluator
        Parameters:
        scriptContext - the script context
        input - the input
      • execute

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