@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, wait
onJiraStopping, onPluginSystemDelayed, onPluginSystemRestarted, onPluginSystemStarted, onPluginSystemStopped
public boolean isStartupChecksPassed()
isStartupChecksPassed
in interface JiraStartupState
public StartupCheck getFailedStartupCheck()
getFailedStartupCheck
in interface JiraStartupState
public void setFailedStartupCheck(StartupCheck failedStartupCheck)
setFailedStartupCheck
in interface JiraStartupState
failedStartupCheck
- a StartupCheckprotected abstract com.google.common.collect.ImmutableList<StartupCheck> getStartupChecks()
Copyright © 2002-2017 Atlassian. All Rights Reserved.