Interface ScriptRunnerFactory


public interface ScriptRunnerFactory
Discovery interface for creating runners.

Note there may be multiple runners of the same type, which is why this is modeled as a factory.

  • Method Details

    • getType

      String getType()
      The type, as used in config
    • getSpec

      Spec getSpec()
      Specify the available options for runners of this type
    • createScriptRunner

      ScriptRunner createScriptRunner(String name, YConfiguration options)
      Create a new script runner, for the specific set of provided options.