com.atlassian.jira.appconsistency.db
Interface DatabaseCheck

All Known Implementing Classes:
Build178SchemaCheck, BuildVersionCheck, DatabaseConsistencyCheck, PublicSchemaConfigCheck

public interface DatabaseCheck


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()
          Implement this method to return true if the check is positive and false in the case of negarive result.
 

Method Detail

getName

String getName()
Implement this method to return the name of this check

Returns:
name

isOk

boolean isOk()
Implement this method to return true if the check is positive and false in the case of negarive result.

Returns:
true if positive

getFaultDescription

String getFaultDescription()
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

Returns:
fault description

getHTMLFaultDescription

String getHTMLFaultDescription()
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:
HTML formatted fault description


Copyright © 2002-2008 Atlassian. All Rights Reserved.