|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.installer.ConfigurationBean
public class ConfigurationBean
Responisible for taking the settings the user selects in the installer window and saves them as the server's initial configuration.
| Constructor Summary | |
|---|---|
ConfigurationBean()
|
|
| Method Summary | |
|---|---|
StartPageResults |
createDatabase()
|
java.lang.String |
getAdminConnectionUrl()
|
java.lang.String |
getAdminPassword()
|
java.lang.String |
getAdminUsername()
|
java.util.List<PropertyItemWithValue> |
getConfiguration()
Loads in the server's current configuration and returns all the settings. |
PropertyItemWithValue |
getConfigurationProperty(java.lang.String propertyName)
Loads in the server's current configuration and returns all the settings. |
java.util.List<PropertyItemWithValue> |
getDatabaseConfiguration()
Loads in the server's current configuration and returns only the database related properties. |
java.lang.String |
getDataDirectory()
|
java.lang.String |
getExistingSchemaOption()
|
java.util.List<javax.faces.model.SelectItem> |
getExistingSchemaOptions()
|
ServerInformation.Server |
getHaServer()
|
java.lang.String |
getHaServerName()
|
java.lang.String |
getLastCreate()
|
java.lang.String |
getLastError()
|
java.lang.String |
getLastTest()
|
java.util.List<PropertyItemWithValue> |
getNonDatabaseConfiguration()
Loads in the server's current configuration and returns all the settings except database related properties. |
PropertyItemWithValue |
getPropHaEndpointPort()
|
PropertyItemWithValue |
getPropHaEndpointSecurePort()
|
PropertyItemWithValue |
getPropHaServerName()
To set the server name use setServerName() |
java.util.List<javax.faces.model.SelectItem> |
getRegisteredServerNames()
|
java.lang.String |
getSelectedRegisteredServerName()
|
java.lang.Boolean |
getShowAdvancedSettings()
|
void |
initConfiguration()
|
boolean |
isAutoinstallEnabled()
Checks to see if the server has been preconfigured and should be auto-installed. |
boolean |
isDatabaseSchemaExist()
|
boolean |
isKeepExistingSchema()
|
boolean |
isRegisteredServers()
|
java.lang.Boolean |
isShowAdvancedSettings()
|
StartPageResults |
save()
|
StartPageResults |
saveEmbeddedMode()
|
void |
setAdminConnectionUrl(java.lang.String adminUrl)
|
void |
setAdminPassword(java.lang.String adminPassword)
|
void |
setAdminUsername(java.lang.String adminUsername)
|
void |
setConfiguration(java.util.List<PropertyItemWithValue> newConfig)
|
void |
setExistingSchemaOption(java.lang.String existingSchemaOption)
|
void |
setHaServer(ServerInformation.Server haServer)
|
void |
setHaServerFromPropertiesOnly()
This method will set the HA Server information based solely on the server configuration properties. |
void |
setHaServerName(java.lang.String serverName)
|
void |
setSelectedRegisteredServerName(java.lang.String selectedRegisteredServerName)
|
void |
setShowAdvancedSettings(java.lang.Boolean showAdvancedSettings)
|
StartPageResults |
showCreateDatabasePage()
|
StartPageResults |
testConnection()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationBean()
| Method Detail |
|---|
public PropertyItemWithValue getConfigurationProperty(java.lang.String propertyName)
public void initConfiguration()
public java.util.List<PropertyItemWithValue> getConfiguration()
public java.util.List<PropertyItemWithValue> getNonDatabaseConfiguration()
getDatabaseConfiguration(),
getConfiguration()public java.util.List<PropertyItemWithValue> getDatabaseConfiguration()
getNonDatabaseConfiguration(),
getConfiguration()public boolean isAutoinstallEnabled()
true
is returned, the installer webapp should not be needed to install the server and the installer should
immediately begin the installation process.
true if auto-install should occur; false means the user needs to use
the installer GUI before the installation can beginpublic void setConfiguration(java.util.List<PropertyItemWithValue> newConfig)
public java.lang.Boolean isShowAdvancedSettings()
public java.lang.Boolean getShowAdvancedSettings()
public void setShowAdvancedSettings(java.lang.Boolean showAdvancedSettings)
public java.lang.String getLastError()
public java.lang.String getLastTest()
public java.lang.String getLastCreate()
public java.lang.String getAdminConnectionUrl()
public void setAdminConnectionUrl(java.lang.String adminUrl)
public java.lang.String getAdminUsername()
public void setAdminUsername(java.lang.String adminUsername)
public java.lang.String getAdminPassword()
public void setAdminPassword(java.lang.String adminPassword)
public StartPageResults testConnection()
public StartPageResults showCreateDatabasePage()
public StartPageResults createDatabase()
public java.lang.String getDataDirectory()
public boolean isDatabaseSchemaExist()
public java.lang.String getExistingSchemaOption()
public void setExistingSchemaOption(java.lang.String existingSchemaOption)
public boolean isKeepExistingSchema()
public StartPageResults saveEmbeddedMode()
public StartPageResults save()
public java.util.List<javax.faces.model.SelectItem> getExistingSchemaOptions()
public PropertyItemWithValue getPropHaServerName()
public PropertyItemWithValue getPropHaEndpointPort()
public PropertyItemWithValue getPropHaEndpointSecurePort()
public boolean isRegisteredServers()
public java.util.List<javax.faces.model.SelectItem> getRegisteredServerNames()
public java.lang.String getSelectedRegisteredServerName()
public void setSelectedRegisteredServerName(java.lang.String selectedRegisteredServerName)
public java.lang.String getHaServerName()
public void setHaServerName(java.lang.String serverName)
public void setHaServerFromPropertiesOnly()
throws java.lang.Exception
AutoInstallServlet.
java.lang.Exceptionpublic ServerInformation.Server getHaServer()
public void setHaServer(ServerInformation.Server haServer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||