4.5.4. getCheckTitle

The getCheckTitle method has to return a short description of the check. This has to be plain text without markup. The text is intended to be displayed in the user interface. In our example we load the text as localized string, as we have already done for the getShortInfo and getLongInfo methods:

public String getCheckTitle(String checkId, String languageCode)
{
    return label(languageCode, checkId + ".title");
}
For the label key the check identifier with suffix ".title" is used. See Section 4.5.11, “The complete example” for an example of the XML properties file.