@ThreadSafe public abstract class StartupStateTemplate extends Object implements JiraStartupState
getStartupChecks().| Constructor and Description |
|---|
StartupStateTemplate() |
| Modifier and Type | Method and Description |
|---|---|
StartupCheck |
getFailedStartupCheck()
Returns the first startup check that failed, or null.
|
protected abstract com.google.common.collect.ImmutableList<StartupCheck> |
getStartupChecks()
Template method that returns an immutable list of startup checks to perform.
|
boolean |
isStartupChecksPassed()
Returns a boolean indicating if this startup state's startup checks have all passed.
|
void |
setFailedStartupCheck(StartupCheck failedStartupCheck)
Sets the first startup check that failed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonJiraStopping, onPluginSystemDelayed, onPluginSystemRestarted, onPluginSystemStarted, onPluginSystemStoppedpublic boolean isStartupChecksPassed()
isStartupChecksPassed in interface JiraStartupStatepublic StartupCheck getFailedStartupCheck()
getFailedStartupCheck in interface JiraStartupStatepublic void setFailedStartupCheck(StartupCheck failedStartupCheck)
setFailedStartupCheck in interface JiraStartupStatefailedStartupCheck - a StartupCheckprotected abstract com.google.common.collect.ImmutableList<StartupCheck> getStartupChecks()
Copyright © 2002-2015 Atlassian. All Rights Reserved.