Interface ExecModel
- All Known Implementing Classes:
ExecTool, WorkDirChooseTool.ExecModelStub
public interface ExecModel
-
Method Summary
Modifier and TypeMethodDescriptionvoidCauses a series of actions to be performed to complete configuration.Get the test result table currently in use for display.booleanReturns true if the model is in the configuration stage, user is either selecting work directory or editing configuration.voidvoidvoidRun specified tests.voidsetWorkDir(WorkDirectory wd, boolean addToFileHistory) voidshowConfigEditor(boolean runTestsWhenDone) Show the configuration editor for this tool, and optionally run the tests defined by the configuration when the editor is closed.voidshowMessage(ResourceBundle msgs, String key) voidShow the configuration editor for this tool with current templatevoidshowWorkDirDialog(boolean allowTemplates)
-
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
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
-
printSetup
void printSetup() -
print
-
setWorkDir
-
getExecToolManager
ExecToolManager getExecToolManager()
-