Class Config

java.lang.Object
org.compiere.install.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
  • Field Details

  • Constructor Details

    • Config

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

    • discoverDatabases

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

      protected ConfigurationPanel getPanel()
      Get Panel
      Returns:
      panel
    • 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 - check box
      resString - resource string key
      pass - true if test passed
      critical - true if critical
      errorMsg - error Message