Package com.ganteater.ae.web
Class WebWorkspace
java.lang.Object
com.ganteater.ae.AEWorkspace
com.ganteater.ae.web.WebWorkspace
- All Implemented Interfaces:
com.ganteater.ae.AEManager
,org.springframework.beans.factory.InitializingBean
@Component("workspace")
public class WebWorkspace
extends com.ganteater.ae.AEWorkspace
implements org.springframework.beans.factory.InitializingBean
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoid
choiceValue
(String name, String desc, Object[] aPossibleValues, com.ganteater.ae.ILogger log, boolean notifyMe, com.ganteater.ae.processor.Processor processor) boolean
confirmation
(String name, String message, com.ganteater.ae.processor.Processor unit, boolean notifyMe) protected com.ganteater.ae.RecipeRunner
createTestRunner
(String name) protected Properties
fillLogProperties
(com.ganteater.ae.util.xml.easyparser.Node configNode) getLogs()
inputChoice
(String aNameDialog, String description, String[] aValues, String aDefaultValue, com.ganteater.ae.processor.Processor taskProcessor, boolean notifyMe) inputFile
(String name, String description, File aDefaultFile, com.ganteater.ae.ILogger log, com.ganteater.ae.processor.Processor tp) String[]
inputMultiChoice
(String name, String[] values, String defaultValue, com.ganteater.ae.processor.Processor taskProcessor) inputValue
(String aName, String aDesc, String value, com.ganteater.ae.ILogger log, String type, boolean notifyMe, com.ganteater.ae.processor.Processor processor) inputValue
(String name, String description, String defaultValue, String type, com.ganteater.ae.processor.Processor processor) boolean
isConsoleDefaultInput
(String varName, String description) com.ganteater.ae.processor.MessageHandler
message
(com.ganteater.ae.processor.Processor taskProcessor, String description, String message, boolean notifyMe) void
protected String
selectConfiguration
(String[] aPossibleValues) com.ganteater.ae.MultiTaskRunDialog
tasksChoice
(com.ganteater.ae.MultiTaskRunDialog mt, String[] list, boolean exceptionIgnoreFlag, Object setup, com.ganteater.ae.processor.Processor taskProcessor, boolean visible) Methods inherited from class com.ganteater.ae.AEWorkspace
addCloseHook, addRunner, choicePriorityRecipeFolder, close, findAlternativeConfiguration, finished, getAllConfigNode, getBaseDir, getConfigNode, getConfiguration, 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, initUserPreferencesEncryption, inputDataTable, inputInteger, loadConfiguration, loadConfiguration, loadConfProperties, progressText, progressValue, refreshTaskPath, removeRunner, resetConfigurationName, runSetupNodes, runTask, selectConfiguration, setBaseDir, setConfigurationName, setConsoleDefaultInput, setDefaultUserConfiguration, setOperationsClasses, setStartDir, setTestPath, startTaskNotify, stopAllRunners
-
Field Details
-
CONFIG_LOG_NAME
- See Also:
-
-
Constructor Details
-
WebWorkspace
public WebWorkspace(@Value("#{systemEnvironment[\'AE_BASEDIR\'] ?: \'${start.dir}\'}") String startDir)
-
-
Method Details
-
createTestRunner
- Overrides:
createTestRunner
in classcom.ganteater.ae.AEWorkspace
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getLogs
-
message
public com.ganteater.ae.processor.MessageHandler message(com.ganteater.ae.processor.Processor taskProcessor, String description, String message, boolean notifyMe) - Specified by:
message
in interfacecom.ganteater.ae.AEManager
- Overrides:
message
in classcom.ganteater.ae.AEWorkspace
-
selectConfiguration
- Overrides:
selectConfiguration
in classcom.ganteater.ae.AEWorkspace
-
getLog
-
tasksChoice
public com.ganteater.ae.MultiTaskRunDialog tasksChoice(com.ganteater.ae.MultiTaskRunDialog mt, String[] list, boolean exceptionIgnoreFlag, Object setup, com.ganteater.ae.processor.Processor taskProcessor, boolean visible) - Specified by:
tasksChoice
in interfacecom.ganteater.ae.AEManager
- Overrides:
tasksChoice
in classcom.ganteater.ae.AEWorkspace
-
inputMultiChoice
public String[] inputMultiChoice(String name, String[] values, String defaultValue, com.ganteater.ae.processor.Processor taskProcessor) - Overrides:
inputMultiChoice
in classcom.ganteater.ae.AEWorkspace
-
inputValue
public String inputValue(String aName, String aDesc, String value, com.ganteater.ae.ILogger log, String type, boolean notifyMe, com.ganteater.ae.processor.Processor processor) - Specified by:
inputValue
in interfacecom.ganteater.ae.AEManager
- Overrides:
inputValue
in classcom.ganteater.ae.AEWorkspace
-
inputChoice
public String inputChoice(String aNameDialog, String description, String[] aValues, String aDefaultValue, com.ganteater.ae.processor.Processor taskProcessor, boolean notifyMe) - Specified by:
inputChoice
in interfacecom.ganteater.ae.AEManager
- Overrides:
inputChoice
in classcom.ganteater.ae.AEWorkspace
-
choiceValue
public String choiceValue(String name, String desc, Object[] aPossibleValues, com.ganteater.ae.ILogger log, boolean notifyMe, com.ganteater.ae.processor.Processor processor) - Specified by:
choiceValue
in interfacecom.ganteater.ae.AEManager
- Overrides:
choiceValue
in classcom.ganteater.ae.AEWorkspace
-
resetConfiguration
- Overrides:
resetConfiguration
in classcom.ganteater.ae.AEWorkspace
-
inputFile
public String inputFile(String name, String description, File aDefaultFile, com.ganteater.ae.ILogger log, com.ganteater.ae.processor.Processor tp) - Specified by:
inputFile
in interfacecom.ganteater.ae.AEManager
- Overrides:
inputFile
in classcom.ganteater.ae.AEWorkspace
-
confirmation
public boolean confirmation(String name, String message, com.ganteater.ae.processor.Processor unit, boolean notifyMe) throws Exception - Specified by:
confirmation
in interfacecom.ganteater.ae.AEManager
- Overrides:
confirmation
in classcom.ganteater.ae.AEWorkspace
- Throws:
Exception
-
inputValue
public String inputValue(String name, String description, String defaultValue, String type, com.ganteater.ae.processor.Processor processor) - Overrides:
inputValue
in classcom.ganteater.ae.AEWorkspace
-
isConsoleDefaultInput
- Specified by:
isConsoleDefaultInput
in interfacecom.ganteater.ae.AEManager
- Overrides:
isConsoleDefaultInput
in classcom.ganteater.ae.AEWorkspace
-
fillLogProperties
- Overrides:
fillLogProperties
in classcom.ganteater.ae.AEWorkspace
-