com.atlassian.jira.startup
Interface StartupCheck

All Known Implementing Classes:
Build178SchemaCheck, BuildVersionCheck, DatabaseConsistencyCheck, JiraHomeStartupCheck, MinimumUpgradableVersionCheck, PostgresSchemaConfigCheck, PublicSchemaConfigCheck, StartupCheckImpl

public interface StartupCheck

Represents an individual check to be done on startup.

Since:
v4.0

Method Summary
 java.lang.String getFaultDescription()
          Implement this method to return the description of the fault.
 java.lang.String getHTMLFaultDescription()
          Implement this method to return the error message of the fault.
 java.lang.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 negative result.
 

Method Detail

getName

java.lang.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 negative result.

Returns:
true if positive

getFaultDescription

java.lang.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

java.lang.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-2010 Atlassian. All Rights Reserved.