Package org.compiere.install
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 Summary
Fields Modifier and Type Field Description protected static CLogger
log
Loggerprotected ConfigurationData
p_data
Configuration Data
-
Constructor Summary
Constructors Constructor Description Config(ConfigurationData data)
Configuration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
discoverDatabases(String selected)
Discover Databases.protected ConfigurationPanel
getPanel()
Get Panelprotected String
getProperty(String key)
Get Configuration Propertyprotected void
setProperty(String key, String value)
Set Configuration Propertyprotected void
signalOK(JCheckBox cb, String resString, boolean pass, boolean critical, String errorMsg)
UI Signal OK
-
-
-
Field Detail
-
p_data
protected ConfigurationData p_data
Configuration Data
-
log
protected static final CLogger log
Logger
-
-
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
-
getPanel
protected ConfigurationPanel getPanel()
Get Panel- Returns:
- panel
-
setProperty
protected void setProperty(String key, String value)
Set Configuration Property- Parameters:
key
- keyvalue
- value
-
getProperty
protected String getProperty(String key)
Get Configuration Property- Parameters:
key
- key- Returns:
- value or ""
-
-