|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.appconsistency.db.PostgresSchemaConfigCheck
public class PostgresSchemaConfigCheck
A checker that will print a log message if the database is Postgres and the schema name contains upper case.
see JRA-16780.
Constructor Summary | |
---|---|
PostgresSchemaConfigCheck(com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo> datasourceInfoSupplier,
ExternalLinkUtil externalLinkUtil)
|
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()
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 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 PostgresSchemaConfigCheck(com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo> datasourceInfoSupplier, ExternalLinkUtil externalLinkUtil)
Method Detail |
---|
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
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |