|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.startup.StartupStateTemplate
com.atlassian.jira.startup.RunningStartupState
public class RunningStartupState
JIRA has been bootstrapped and the plugin system has been started.
| Constructor Summary | |
|---|---|
RunningStartupState(BootstrappingStartupState bootstrapping,
AtomicReference<JiraStartupState> currentState)
|
|
| Method Summary | |
|---|---|
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunningStartupState(BootstrappingStartupState bootstrapping,
AtomicReference<JiraStartupState> currentState)
| Method Detail |
|---|
public boolean isStartupChecksPassed()
StartupStateTemplate
isStartupChecksPassed in interface JiraStartupStateisStartupChecksPassed in class StartupStateTemplate
public void onPluginSystemStarted()
throws IllegalStateException
JiraStartupState
onPluginSystemStarted in interface JiraStartupStateIllegalStateException - if this is not a valid event for this statepublic StartupCheck getFailedStartupCheck()
StartupStateTemplate
getFailedStartupCheck in interface JiraStartupStategetFailedStartupCheck in class StartupStateTemplatepublic void setFailedStartupCheck(StartupCheck startupCheck)
StartupStateTemplate
setFailedStartupCheck in interface JiraStartupStatesetFailedStartupCheck in class StartupStateTemplatestartupCheck - a StartupCheckpublic void onPluginSystemStopped()
JiraStartupState
onPluginSystemStopped in interface JiraStartupStatepublic void onPluginSystemRestarted()
JiraStartupState
onPluginSystemRestarted in interface JiraStartupStatepublic void onJiraStopping()
JiraStartupState
onJiraStopping in interface JiraStartupStateprotected com.google.common.collect.ImmutableList<StartupCheck> getStartupChecks()
StartupStateTemplate
getStartupChecks in class StartupStateTemplate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||