public class CollationCheck extends Object implements StartupCheck
Constructor and Description |
---|
CollationCheck(DatabaseConfig databaseConfig,
DatabaseCollationReader databaseCollationReader,
JiraProperties jiraProperties) |
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 warning message if the database is using an unsupported collation.
|
void |
stop()
Called when the instance is coming down
|
String |
toString() |
public CollationCheck(DatabaseConfig databaseConfig, DatabaseCollationReader databaseCollationReader, JiraProperties jiraProperties)
public String getName()
StartupCheck
getName
in interface StartupCheck
public boolean isOk()
isOk
in interface StartupCheck
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.