Interface ScriptSourceInput

All Known Implementing Classes:
AbstractScriptSourceInput, ScriptSourceInputAggregate, ScriptSourceInputFromFile, ScriptSourceInputFromReader, ScriptSourceInputFromUrl, ScriptSourceInputNonExistentImpl

public interface ScriptSourceInput
Contract for hiding the differences between a passed Reader, File or URL in terms of how we read input scripts.
  • Method Details

    • getScriptDescription

      default String getScriptDescription()
    • extract

      List<String> extract(Function<Reader,List<String>> extractor)
      Allows managed access to the input's Reader, returning a result
    • containsScript

      default boolean containsScript(URL url)
    • exists

      default boolean exists()