java.lang.Object | |
↳ | com.atlassian.jira.appconsistency.db.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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Uses the given databaseConfigurationManager to acquire a reference to the DatasourceInfo to use to
perform this configuration check.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Implement this method to return the description of the fault.
| |||||||||||
Implement this method to return the error message of the fault.
| |||||||||||
Implement this method to return the name of this check
| |||||||||||
Returns false if the schema is PUBLIC (all caps) and the field type ain't HSQL.
| |||||||||||
Called when the instance is coming down
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||
![]()
|
Uses the given databaseConfigurationManager to acquire a reference to the DatasourceInfo to use to perform this configuration check.
datasourceInfoSupplier | to get the DatasourceInfo. |
---|
Implement this method to return the description of the fault. This method should return null in the case the check was positive. This message is used to present the user with a message to the console
Implement this method to return the error message of the fault. This method should return null in the case the check was positive. This message is used to present the user with a message viewable in a web browser.
Returns false if the schema is PUBLIC (all caps) and the field type ain't HSQL. Returns false otherwise. This check can also be disabled by setting the #KEY_PUBLIC_SCHEMA_CONFIG_DISABLED property to "true". If disabled, it'll always return true.
Called when the instance is coming down