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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.ganteater.ae.AEWorkspace

    CONFIG_SUFIX_PROP_NAME, CONFIGURATION_TITLE, defaultMode, ENVIRONMENT_FILE_TITLE, MESSAGE_PASSWORD_REQUIRED
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebWorkspace(String startDir)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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
     
    protected Properties
    fillLogProperties(com.ganteater.ae.util.xml.easyparser.Node configNode)
     
    getLog(String name)
     
     
    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)
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • WebWorkspace

      public WebWorkspace(@Value("#{systemEnvironment[\'AE_BASEDIR\'] ?: \'${start.dir}\'}") String startDir)
  • Method Details

    • createTestRunner

      protected com.ganteater.ae.RecipeRunner createTestRunner(String name)
      Overrides:
      createTestRunner in class com.ganteater.ae.AEWorkspace
    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.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 interface com.ganteater.ae.AEManager
      Overrides:
      message in class com.ganteater.ae.AEWorkspace
    • selectConfiguration

      protected String selectConfiguration(String[] aPossibleValues)
      Overrides:
      selectConfiguration in class com.ganteater.ae.AEWorkspace
    • getLog

      public WebLogger getLog(String name)
    • 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 interface com.ganteater.ae.AEManager
      Overrides:
      tasksChoice in class com.ganteater.ae.AEWorkspace
    • inputMultiChoice

      public String[] inputMultiChoice(String name, String[] values, String defaultValue, com.ganteater.ae.processor.Processor taskProcessor)
      Overrides:
      inputMultiChoice in class com.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 interface com.ganteater.ae.AEManager
      Overrides:
      inputValue in class com.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 interface com.ganteater.ae.AEManager
      Overrides:
      inputChoice in class com.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 interface com.ganteater.ae.AEManager
      Overrides:
      choiceValue in class com.ganteater.ae.AEWorkspace
    • resetConfiguration

      public void resetConfiguration()
      Overrides:
      resetConfiguration in class com.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 interface com.ganteater.ae.AEManager
      Overrides:
      inputFile in class com.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 interface com.ganteater.ae.AEManager
      Overrides:
      confirmation in class com.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 class com.ganteater.ae.AEWorkspace
    • isConsoleDefaultInput

      public boolean isConsoleDefaultInput(String varName, String description)
      Specified by:
      isConsoleDefaultInput in interface com.ganteater.ae.AEManager
      Overrides:
      isConsoleDefaultInput in class com.ganteater.ae.AEWorkspace
    • fillLogProperties

      protected Properties fillLogProperties(com.ganteater.ae.util.xml.easyparser.Node configNode)
      Overrides:
      fillLogProperties in class com.ganteater.ae.AEWorkspace