Interface ScriptTargetOutput

All Known Implementing Classes:
AbstractScriptTargetOutput, ScriptTargetOutputToFile, ScriptTargetOutputToStdout, ScriptTargetOutputToUrl, ScriptTargetOutputToWriter

public interface ScriptTargetOutput
Contract for hiding the differences between a passed Writer, File or URL in terms of how we write output scripts.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(String command)
    Accept the given command and write it to the abstracted script
    void
    Prepare the script target to accept commands
    void
    Release this output
  • Method Details

    • prepare

      void prepare()
      Prepare the script target to accept commands
    • accept

      void accept(String command)
      Accept the given command and write it to the abstracted script
      Parameters:
      command - The command
    • release

      void release()
      Release this output