Package org.compiere.install
Class Config
java.lang.Object
org.compiere.install.Config
- Direct Known Subclasses:
ConfigAppServer
,ConfigVM
Configuration Setup and Test
- Version:
- $Id: Config.java,v 1.3 2006/07/30 00:57:42 jjanke Exp $
- Author:
- Jorg Janke
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final CLogger
Loggerprotected ConfigurationData
Configuration Data -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
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
UI Signal OK
-
Field Details
-
p_data
Configuration Data -
log
Logger
-
-
Constructor Details
-
Config
Configuration- Parameters:
data
- configuration
-
-
Method Details
-
discoverDatabases
Discover Databases. To be overwritten by database configs- Parameters:
selected
- selected database- Returns:
- array of databases
-
getPanel
Get Panel- Returns:
- panel
-
setProperty
Set Configuration Property- Parameters:
key
- keyvalue
- value
-
getProperty
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 boxresString
- resource string keypass
- true if test passedcritical
- true if criticalerrorMsg
- error Message
-