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, wait
stop
public 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()
StartupCheck
getName
in interface StartupCheck
public boolean isOk()
KEY_PUBLIC_SCHEMA_CONFIG_DISABLED
property to "true".
If disabled, it'll always return true.isOk
in interface StartupCheck
public String getFaultDescription()
StartupCheck
getFaultDescription
in interface StartupCheck
public String getHTMLFaultDescription()
StartupCheck
getHTMLFaultDescription
in interface StartupCheck
Copyright © 2002-2016 Atlassian. All Rights Reserved.
View cookie preferences