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) |
void |
stop()
Called when the instance is coming down
|
String |
toString() |
public PostgresSchemaConfigCheck(com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo> datasourceInfoSupplier, ExternalLinkUtil externalLinkUtil)
public String getName()
StartupCheck
getName
in interface StartupCheck
public boolean isOk()
isOk
in interface StartupCheck
public void setLoggedError(boolean loggedError)
public String getFaultDescription()
StartupCheck
getFaultDescription
in interface StartupCheck
public String getHTMLFaultDescription()
StartupCheck
getHTMLFaultDescription
in interface StartupCheck
public void stop()
StartupCheck
stop
in interface StartupCheck
Copyright © 2002-2015 Atlassian. All Rights Reserved.