com.atlassian.jira.startup
Class JiraDatabaseConfigChecklist

java.lang.Object
  extended by com.atlassian.jira.startup.JiraDatabaseConfigChecklist

public class JiraDatabaseConfigChecklist
extends Object

Represents the set of sanity checks that must be done as soon as database config is known. This is a startup type of check, but on setup, the database configuration is yet to be provided, so we have to wait until it is in that case.

Since:
v4.4

Constructor Summary
JiraDatabaseConfigChecklist(DatabaseConfigurationManager databaseConfigurationManager, JiraProperties jiraSystemProperties)
           
 
Method Summary
 StartupCheck getFailedStartupCheck()
          Returns the StartupCheck that failed, if any or null if none.
 boolean startupOK()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraDatabaseConfigChecklist

public JiraDatabaseConfigChecklist(DatabaseConfigurationManager databaseConfigurationManager,
                                   JiraProperties jiraSystemProperties)
Method Detail

startupOK

public boolean startupOK()

getFailedStartupCheck

public StartupCheck getFailedStartupCheck()
Returns the StartupCheck that failed, if any or null if none.

Returns:
null or the failed StartupCheck.


Copyright © 2002-2014 Atlassian. All Rights Reserved.