Interface IScriptFiles

All Known Implementing Classes:
ScriptFiles

public interface IScriptFiles
Defines the script files to be run before and/or after a scan.
  • Method Details

    • setBeforeScanScript

      void setBeforeScanScript(String beforeScanScript)
    • getBeforeScanScript

      String getBeforeScanScript()
      Returns:
      the script to run before a scan
    • setAfterScanScript

      void setAfterScanScript(String afterScanScript)
    • getAfterScanScript

      String getAfterScanScript()
      Returns:
      the script to run after a scan
    • setAlwaysRunAfterScript

      void setAlwaysRunAfterScript(boolean alwaysRunAfterScript)
    • isAlwaysRunAfterScript

      boolean isAlwaysRunAfterScript()
      Returns:
      true if the "after scan" script should always be run, even if there is an error
    • setEnvironment

      void setEnvironment(Map<String,String> environment)
    • getEnvironment

      Map<String,String> getEnvironment()
      Returns:
      map of arguments to add to the Jython namespace