public class PublicSchemaConfigCheck extends Object implements StartupCheck
| Constructor and Description |
|---|
PublicSchemaConfigCheck(com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo> datasourceInfoSupplier)
Uses the given databaseConfigurationManager to acquire a reference to the
DatasourceInfo to use to
perform this configuration check. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFaultDescription()
Implement this method to return the description of the fault.
|
String |
getHTMLFaultDescription()
Implement this method to return the error message of the fault.
|
String |
getName()
Implement this method to return the name of this check.
|
boolean |
isOk()
Returns false if the schema is PUBLIC (all caps) and the field type ain't H2 or HSQL.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstoppublic PublicSchemaConfigCheck(com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo> datasourceInfoSupplier)
DatasourceInfo to use to
perform this configuration check.datasourceInfoSupplier - to get the DatasourceInfo.public String getName()
StartupCheckgetName in interface StartupCheckpublic boolean isOk()
KEY_PUBLIC_SCHEMA_CONFIG_DISABLED property to "true".
If disabled, it'll always return true.isOk in interface StartupCheckpublic String getFaultDescription()
StartupCheckgetFaultDescription in interface StartupCheckpublic String getHTMLFaultDescription()
StartupCheckgetHTMLFaultDescription in interface StartupCheckCopyright © 2002-2016 Atlassian. All Rights Reserved.