Class Config

  • Direct Known Subclasses:
    ConfigAppServer, ConfigVM

    public abstract class Config
    extends Object
    Configuration Setup and Test
    Version:
    $Id: Config.java,v 1.3 2006/07/30 00:57:42 jjanke Exp $
    Author:
    Jorg Janke
    • Constructor Detail

      • Config

        public Config​(ConfigurationData data)
        Configuration
        Parameters:
        data - configuration
    • Method Detail

      • discoverDatabases

        public String[] discoverDatabases​(String selected)
        Discover Databases. To be overwritten by database configs
        Parameters:
        selected - selected database
        Returns:
        array of databases
      • setProperty

        protected void setProperty​(String key,
                                   String value)
        Set Configuration Property
        Parameters:
        key - key
        value - value
      • getProperty

        protected String getProperty​(String key)
        Get Configuration Property
        Parameters:
        key - key
        Returns:
        value or ""
      • signalOK

        protected void signalOK​(JCheckBox cb,
                                String resString,
                                boolean pass,
                                boolean critical,
                                String errorMsg)
        UI Signal OK
        Parameters:
        cb - ckeck box
        resString - resource string key
        pass - true if test passed
        critical - true if critical
        errorMsg - error Message