Package com.ganteater.ae.desktop
Class DesktopWorkspace
java.lang.Object
com.ganteater.ae.AEWorkspace
com.ganteater.ae.desktop.DesktopWorkspace
- All Implemented Interfaces:
AEManager
- Direct Known Subclasses:
UIWorkspace
-
Field Summary
Fields inherited from class com.ganteater.ae.AEWorkspace
CONFIG_SUFIX_PROP_NAME, CONFIGURATION_TITLE, defaultMode, ENVIRONMENT_FILE_TITLE, MESSAGE_PASSWORD_REQUIRED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
choicePriorityRecipeFolder
(String text, String[] possibleValues) choiceValue
(String name, String description, Object[] aPossibleValues, ILogger log, boolean notifyMe, Processor processor) boolean
confirmation
(String name, String message, Processor unit, boolean notifyMe) protected RecipeRunner
createTestRunner
(String name) protected File
protected Node
void
initUserPreferencesEncryption
(String password) inputChoice
(String name, String description, String[] aValues, String aDefaultValue, Processor taskProcessor, boolean notifyMe) void
inputDataTable
(Processor unit, Node aTableNode, boolean notifyMe) inputValue
(String name, String description, String value, ILogger log, String type, boolean notifyMe, Processor processor) boolean
isConsoleDefaultInput
(String varName, String description) void
progressValue
(int i, int length, boolean success) void
removeRunner
(RecipeRunner testRunner) void
protected String
selectConfiguration
(String[] aPossibleValues) void
startTaskNotify
(RecipeRunner task) tasksChoice
(MultiTaskRunDialog dialog, String[] list, boolean exceptionIgnoreFlag, Object setup, Processor taskProcessor, boolean visible) Methods inherited from class com.ganteater.ae.AEWorkspace
addCloseHook, addRunner, close, fillLogProperties, finished, getAllConfigNode, getBaseDir, getConfigNode, getConfigurationFile, getConfigurationName, getCurrentConfig, getCustomConfPropFileName, getDefaultUserConfiguration, getFile, getHomeConfigurationsDir, getHomeWorkingDir, getInstance, getOperationsClasses, getOperationsMethod, getOperationsMethods, getPreferencesFile, getPublicTestsList, getRecipesScaner, getRemoveTestPath, getRunners, getStartDir, getSystemVariables, getTasksMap, getTestPath, getTestsDescList, getTestsList, getUserPreferences, getValue, getWorkingDir, initLogger, inputInteger, inputMultiChoice, inputValue, loadConfiguration, loadConfiguration, loadConfProperties, progressText, refreshTaskPath, resetConfigurationName, runSetupNodes, runTask, selectConfiguration, setBaseDir, setConfigurationName, setConsoleDefaultInput, setDefaultUserConfiguration, setOperationsClasses, setStartDir, setTestPath, stopAllRunners
-
Constructor Details
-
DesktopWorkspace
-
-
Method Details
-
selectConfiguration
- Overrides:
selectConfiguration
in classAEWorkspace
-
tasksChoice
public MultiTaskRunDialog tasksChoice(MultiTaskRunDialog dialog, String[] list, boolean exceptionIgnoreFlag, Object setup, Processor taskProcessor, boolean visible) - Specified by:
tasksChoice
in interfaceAEManager
- Overrides:
tasksChoice
in classAEWorkspace
-
startTaskNotify
- Specified by:
startTaskNotify
in interfaceAEManager
- Overrides:
startTaskNotify
in classAEWorkspace
-
progressValue
- Specified by:
progressValue
in interfaceAEManager
- Overrides:
progressValue
in classAEWorkspace
-
removeRunner
- Specified by:
removeRunner
in interfaceAEManager
- Overrides:
removeRunner
in classAEWorkspace
-
inputValue
public String inputValue(String name, String description, String value, ILogger log, String type, boolean notifyMe, Processor processor) - Specified by:
inputValue
in interfaceAEManager
- Overrides:
inputValue
in classAEWorkspace
-
isConsoleDefaultInput
- Specified by:
isConsoleDefaultInput
in interfaceAEManager
- Overrides:
isConsoleDefaultInput
in classAEWorkspace
-
createTestRunner
- Overrides:
createTestRunner
in classAEWorkspace
-
inputChoice
public String inputChoice(String name, String description, String[] aValues, String aDefaultValue, Processor taskProcessor, boolean notifyMe) - Specified by:
inputChoice
in interfaceAEManager
- Overrides:
inputChoice
in classAEWorkspace
-
inputFile
public String inputFile(String name, String description, File defaultFile, ILogger log, Processor taskProcessor) - Specified by:
inputFile
in interfaceAEManager
- Overrides:
inputFile
in classAEWorkspace
-
confirmation
public boolean confirmation(String name, String message, Processor unit, boolean notifyMe) throws Exception - Specified by:
confirmation
in interfaceAEManager
- Overrides:
confirmation
in classAEWorkspace
- Throws:
Exception
-
message
public MessageHandler message(Processor taskProcessor, String title, String message, boolean notifyMe) - Specified by:
message
in interfaceAEManager
- Overrides:
message
in classAEWorkspace
-
inputDataTable
- Specified by:
inputDataTable
in interfaceAEManager
- Overrides:
inputDataTable
in classAEWorkspace
- Throws:
IOException
-
choiceValue
public String choiceValue(String name, String description, Object[] aPossibleValues, ILogger log, boolean notifyMe, Processor processor) - Specified by:
choiceValue
in interfaceAEManager
- Overrides:
choiceValue
in classAEWorkspace
-
choicePriorityRecipeFolder
- Overrides:
choicePriorityRecipeFolder
in classAEWorkspace
-
getConfiguration
- Overrides:
getConfiguration
in classAEWorkspace
- Throws:
IOException
-
findAlternativeConfiguration
- Overrides:
findAlternativeConfiguration
in classAEWorkspace
-
resetConfiguration
- Overrides:
resetConfiguration
in classAEWorkspace
-
initUserPreferencesEncryption
- Overrides:
initUserPreferencesEncryption
in classAEWorkspace
-