|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.appconsistency.db.PublicSchemaConfigCheck
public class PublicSchemaConfigCheck
A DatabaseCheck that looks in the entityengine.xml for an anticipated misconfiguration, the combination of setting schema-name to PUBLIC (upper case) on a database other than HSQL.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 HSQL. |
void |
stop()
Called when the tenant / instance is coming down |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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
public void stop()
StartupCheck
stop
in interface StartupCheck
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |