|
||||||||||
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()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicSchemaConfigCheck()
Method Detail |
---|
public String getName()
DatabaseCheck
getName
in interface DatabaseCheck
public boolean isOk()
KEY_PUBLIC_SCHEMA_CONFIG_DISABLED
property to "true".
If disabled, it'll always return true.
isOk
in interface DatabaseCheck
public String getFaultDescription()
DatabaseCheck
getFaultDescription
in interface DatabaseCheck
public String getHTMLFaultDescription()
DatabaseCheck
getHTMLFaultDescription
in interface DatabaseCheck
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |