|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.install.ConfigurationData
public class ConfigurationData
Configuration Data
| Constructor Summary | |
|---|---|
ConfigurationData(ConfigurationPanel panel,
Properties properties)
Constructor |
|
| Method Summary | |
|---|---|
String |
getAppsServer()
|
String |
getAppsServerDeployDir()
|
int |
getAppsServerJNPPort()
|
int |
getAppsServerSSLPort()
|
String |
getAppsServerType()
Get Apps Server Type |
int |
getAppsServerWebPort()
|
String |
getCompiereHome()
Get Compiere Home |
String |
getDatabaseDiscovered()
|
String |
getDatabaseName()
|
String |
getDatabasePassword()
|
int |
getDatabasePort()
|
String |
getDatabasePortString()
|
String |
getDatabaseServer()
|
String |
getDatabaseSystemPassword()
|
String |
getDatabaseType()
|
String |
getDatabaseUser()
|
String |
getJavaHome()
|
String |
getJavaType()
|
String |
getKeyStore()
Get Key Store |
void |
initAppsServer()
Init Apps Server |
void |
initDatabase(String selected)
Init Database |
void |
initJava()
Init Database |
boolean |
load()
Load Configuration Data |
boolean |
save()
Save Settings |
void |
setAppsServer(String appsServer)
|
void |
setAppsServerDeployDir(boolean enable)
|
void |
setAppsServerDeployDir(String appsServerDeployDir)
|
void |
setAppsServerJNPPort(boolean enable)
|
void |
setAppsServerJNPPort(String appsServerJNPPort)
|
void |
setAppsServerJNPPortLabel(String label)
|
void |
setAppsServerSSLPort(boolean enable)
|
void |
setAppsServerSSLPort(String appsServerSSLPort)
|
void |
setAppsServerType(String appsType)
Set Apps Server Type |
void |
setAppsServerWebPort(boolean enable)
|
void |
setAppsServerWebPort(String appsServerWebPort)
|
void |
setCompiereHome(String compiereHome)
Set Compiere Home |
void |
setDatabaseDiscovered(boolean enable)
|
void |
setDatabaseDiscovered(String databaseDiscovered)
|
void |
setDatabaseName(boolean enable)
|
void |
setDatabaseName(String databaseName)
|
void |
setDatabasePassword(String databasePassword)
|
void |
setDatabasePort(String databasePort)
|
void |
setDatabaseServer(String databaseServer)
|
void |
setDatabaseSystemPassword(boolean enable)
|
void |
setDatabaseSystemPassword(String databaseSystemPassword)
|
void |
setDatabaseType(String databaseType)
Set Database Type |
void |
setDatabaseUser(boolean enable)
|
void |
setDatabaseUser(String databaseUser)
|
void |
setJavaHome(String javaHome)
|
void |
setJavaType(String javaType)
Set Java Type |
void |
setKeyStore(String password)
Set Key Store Password |
boolean |
test(boolean finalIteration)
Test |
String |
testAppsServer()
Test Apps Server |
String |
testDatabase()
Test Database |
String |
testJava()
Test Java |
protected boolean |
testPort(InetAddress host,
int port,
boolean shouldBeUsed)
Test Port |
protected boolean |
testPort(String protocol,
String server,
int port,
String file)
Test Apps Server Port (client perspective) |
protected boolean |
testServerPort(int port)
Test Server Port |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ConfigurationPanel p_panel
protected Properties p_properties
public static final String COMPIERE_ENV_FILE
public static final String COMPIERE_HOME
public static final String JAVA_HOME
public static final String JAVA_TYPE
public static final String COMPIERE_JAVA_OPTIONS
public static final String COMPIERE_KEYSTORE
public static final String COMPIERE_KEYSTOREPASS
public static final String KEYSTORE_PASSWORD
public static final String COMPIERE_KEYSTORECODEALIAS
public static final String COMPIERE_KEYSTOREWEBALIAS
public static final String COMPIERE_MAIL_SERVER
public static final String COMPIERE_MAIL_USER
public static final String COMPIERE_MAIL_PASSWORD
public static final String COMPIERE_ADMIN_EMAIL
public static final String COMPIERE_MAIL_UPDATED
public static final String COMPIERE_FTP_SERVER
public static final String COMPIERE_FTP_USER
public static final String COMPIERE_FTP_PASSWORD
public static final String COMPIERE_FTP_PREFIX
public static final String COMPIERE_WEBSTORES
protected static String JAVATYPE_SUN
protected static String JAVATYPE_IBM
| Constructor Detail |
|---|
public ConfigurationData(ConfigurationPanel panel,
Properties properties)
panel - UI panelproperties - configuration properties| Method Detail |
|---|
public boolean load()
public boolean test(boolean finalIteration)
finalIteration - final test
protected boolean testPort(String protocol,
String server,
int port,
String file)
protocol - protocol (http, ..)server - server nameport - portfile - file name
protected boolean testServerPort(int port)
port - port
protected boolean testPort(InetAddress host,
int port,
boolean shouldBeUsed)
host - hostport - portshouldBeUsed - true if it should be used
public boolean save()
public String getCompiereHome()
public void setCompiereHome(String compiereHome)
compiereHome - public String getKeyStore()
public void setKeyStore(String password)
password - public void initJava()
public String testJava()
public void setJavaType(String javaType)
javaType - The javaType to set.public String getJavaType()
public String getJavaHome()
public void setJavaHome(String javaHome)
javaHome - The javaHome to set.public void initAppsServer()
public String testAppsServer()
public void setAppsServerType(String appsType)
appsType - The appsType to set.public String getAppsServerType()
public String getAppsServer()
public void setAppsServer(String appsServer)
appsServer - The appsServer to set.public String getAppsServerDeployDir()
public void setAppsServerDeployDir(String appsServerDeployDir)
appsServerDeployDir - The appsServerDeployDir to set.public void setAppsServerDeployDir(boolean enable)
enable - if true enable entrypublic int getAppsServerJNPPort()
public void setAppsServerJNPPort(String appsServerJNPPort)
appsServerJNPPort - The appsServerJNPPort to set.public void setAppsServerJNPPort(boolean enable)
enable - if enable JNP entrypublic void setAppsServerJNPPortLabel(String label)
label - The JNDI/JNP port labelpublic int getAppsServerSSLPort()
public void setAppsServerSSLPort(String appsServerSSLPort)
appsServerSSLPort - The appsServerSSLPort to set.public void setAppsServerSSLPort(boolean enable)
enable - if tre enable SSL entrypublic int getAppsServerWebPort()
public void setAppsServerWebPort(String appsServerWebPort)
appsServerWebPort - The appsServerWebPort to set.public void setAppsServerWebPort(boolean enable)
enable - if tre enable Web entrypublic void initDatabase(String selected)
selected - DBpublic String testDatabase()
public void setDatabaseType(String databaseType)
databaseType - The databaseType to set.public String getDatabaseType()
public String getDatabaseDiscovered()
public void setDatabaseDiscovered(String databaseDiscovered)
databaseDiscovered - The database Discovered to set.public void setDatabaseDiscovered(boolean enable)
enable - Database Discoveredpublic String getDatabaseName()
public void setDatabaseName(String databaseName)
databaseName - The databaseName to set.public void setDatabaseName(boolean enable)
enable - enable Database Namepublic String getDatabasePassword()
public void setDatabasePassword(String databasePassword)
databasePassword - The databasePassword to set.public String getDatabasePortString()
public int getDatabasePort()
public void setDatabasePort(String databasePort)
databasePort - The databasePort to set.public String getDatabaseServer()
public void setDatabaseServer(String databaseServer)
databaseServer - The databaseServer to set.public String getDatabaseSystemPassword()
public void setDatabaseSystemPassword(String databaseSystemPassword)
databaseSystemPassword - The databaseSystemPassword to set.public void setDatabaseSystemPassword(boolean enable)
enable - enable Database System Passwordpublic String getDatabaseUser()
public void setDatabaseUser(String databaseUser)
databaseUser - The databaseUser to set.public void setDatabaseUser(boolean enable)
enable - enable Database User
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||