public class RunningStartupState extends StartupStateTemplate implements JiraStartupState
| Constructor and Description |
|---|
RunningStartupState(BootstrappingStartupState bootstrapping,
AtomicReference<JiraStartupState> currentState) |
| Modifier and Type | Method and Description |
|---|---|
StartupCheck |
getFailedStartupCheck()
Returns the first startup check that failed, or null.
|
protected 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 |
onJiraStopping()
This method is called when JIRA is being stopped.
|
void |
onPluginSystemDelayed()
This method is called when the Atlassian Plugins system has completed earlyStartup within JIRA.
|
void |
onPluginSystemRestarted()
This method is called when the Atlassian Plugins system has been restarted within JIRA.
|
void |
onPluginSystemStarted()
This method is called when the Atlassian Plugins system has been started within JIRA.
|
void |
onPluginSystemStopped()
This method is called when the Atlassian Plugins system has been stopped within JIRA.
|
void |
setFailedStartupCheck(StartupCheck startupCheck)
Sets the first startup check that failed.
|
public RunningStartupState(BootstrappingStartupState bootstrapping, AtomicReference<JiraStartupState> currentState)
public boolean isStartupChecksPassed()
StartupStateTemplateisStartupChecksPassed in interface JiraStartupStateisStartupChecksPassed in class StartupStateTemplatepublic void onPluginSystemStarted()
throws IllegalStateException
JiraStartupStateonPluginSystemStarted in interface JiraStartupStateIllegalStateException - if this is not a valid event for this statepublic void onPluginSystemDelayed()
throws IllegalStateException
JiraStartupStateonPluginSystemDelayed in interface JiraStartupStateIllegalStateException - if this is not a valid event for this statepublic StartupCheck getFailedStartupCheck()
StartupStateTemplategetFailedStartupCheck in interface JiraStartupStategetFailedStartupCheck in class StartupStateTemplatepublic void setFailedStartupCheck(StartupCheck startupCheck)
StartupStateTemplatesetFailedStartupCheck in interface JiraStartupStatesetFailedStartupCheck in class StartupStateTemplatestartupCheck - a StartupCheckpublic void onPluginSystemStopped()
JiraStartupStateonPluginSystemStopped in interface JiraStartupStatepublic void onPluginSystemRestarted()
JiraStartupStateonPluginSystemRestarted in interface JiraStartupStatepublic void onJiraStopping()
JiraStartupStateonJiraStopping in interface JiraStartupStateprotected com.google.common.collect.ImmutableList<StartupCheck> getStartupChecks()
StartupStateTemplategetStartupChecks in class StartupStateTemplateCopyright © 2002-2017 Atlassian. All Rights Reserved.