public class PostgresSchemaConfigCheck extends Object implements StartupCheck
see JRA-16780.
| Constructor and Description |
|---|
PostgresSchemaConfigCheck(com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo> datasourceInfoSupplier,
ExternalLinkUtil externalLinkUtil) |
| 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()
Always returns true and will log a message if the database is POSTGRES and the configured schema name contains
upper case characters.
|
void |
setLoggedError(boolean loggedError) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstoppublic PostgresSchemaConfigCheck(com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo> datasourceInfoSupplier,
ExternalLinkUtil externalLinkUtil)
public String getName()
StartupCheckgetName in interface StartupCheckpublic boolean isOk()
isOk in interface StartupCheckpublic void setLoggedError(boolean loggedError)
public String getFaultDescription()
StartupCheckgetFaultDescription in interface StartupCheckpublic String getHTMLFaultDescription()
StartupCheckgetHTMLFaultDescription in interface StartupCheckCopyright © 2002-2016 Atlassian. All Rights Reserved.