Interface ExecModel

All Known Implementing Classes:
ExecTool, WorkDirChooseTool.ExecModelStub

public interface ExecModel
  • Method Details

    • getTestSuite

      TestSuite getTestSuite()
    • getWorkDirectory

      WorkDirectory getWorkDirectory()
    • getInterviewParameters

      InterviewParameters getInterviewParameters()
    • getFilterConfig

      FilterConfig getFilterConfig()
    • getContextManager

      ContextManager getContextManager()
    • getActiveTestResultTable

      TestResultTable getActiveTestResultTable()
      Get the test result table currently in use for display. This value provides a temporary answer if the work directory does not exist yet. If a work directory is available, the query is forwarded to that object.
      Returns:
      the test result table currently in use for display.
    • showWorkDirDialog

      void showWorkDirDialog(boolean allowTemplates)
    • showConfigEditor

      void showConfigEditor(boolean runTestsWhenDone)
      Show the configuration editor for this tool, and optionally run the tests defined by the configuration when the editor is closed.
      Parameters:
      runTestsWhenDone - true if the tests should automatically be run when the user closes the configuration editor, and false otherwise.
    • showTemplateEditor

      void showTemplateEditor()
      Show the configuration editor for this tool with current template
    • configure

      void configure()
      Causes a series of actions to be performed to complete configuration.
    • isConfiguring

      boolean isConfiguring()
      Returns true if the model is in the configuration stage, user is either selecting work directory or editing configuration. One can relay on this method to disable/enable some actions.
    • runTests

      void runTests(String... urls)
      Run specified tests.
      Parameters:
      urls - These names may either be paths to folders or test names. Empty string value in the array indicates that the whole test suite should be run.
    • showMessage

      void showMessage(ResourceBundle msgs, String key)
    • printSetup

      void printSetup()
    • print

      void print(Printable p)
    • setWorkDir

      void setWorkDir(WorkDirectory wd, boolean addToFileHistory)
    • getExecToolManager

      ExecToolManager getExecToolManager()