Class Eval

  • All Implemented Interfaces:
    io.kestra.core.models.tasks.RunnableTask<Eval.Output>

    public abstract class Eval
    extends AbstractScript
    implements io.kestra.core.models.tasks.RunnableTask<Eval.Output>
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Eval.Output  
      • Nested classes/interfaces inherited from class io.kestra.core.models.tasks.Task

        io.kestra.core.models.tasks.Task.TaskBuilder<C extends io.kestra.core.models.tasks.Task,​B extends io.kestra.core.models.tasks.Task.TaskBuilder<C,​B>>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> outputs  
      • Fields inherited from class io.kestra.core.models.tasks.Task

        disabled, id, retry, timeout, type
    • Constructor Summary

      Constructors 
      Constructor Description
      Eval()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.Map<java.lang.String,​java.lang.Object> gatherOutputs​(javax.script.ScriptEngine engine, javax.script.Bindings bindings)  
      protected Eval.Output run​(io.kestra.core.runners.RunContext runContext, java.lang.String engineName)  
      • Methods inherited from class io.kestra.core.models.tasks.Task

        findById, findById, getDescription, getDisabled, getId, getRetry, getTimeout, getType, isFlowable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.kestra.core.models.tasks.RunnableTask

        run
    • Field Detail

      • outputs

        @PluginProperty(dynamic=false)
        protected java.util.List<java.lang.String> outputs
    • Constructor Detail

      • Eval

        public Eval()
    • Method Detail

      • run

        protected Eval.Output run​(io.kestra.core.runners.RunContext runContext,
                                  java.lang.String engineName)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • gatherOutputs

        protected java.util.Map<java.lang.String,​java.lang.Object> gatherOutputs​(javax.script.ScriptEngine engine,
                                                                                       javax.script.Bindings bindings)
                                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception