|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 JiraStartupState
isStartupChecksPassed
in class StartupStateTemplate
public void onPluginSystemStarted() throws IllegalStateException
JiraStartupState
onPluginSystemStarted
in interface JiraStartupState
IllegalStateException
- if this is not a valid event for this statepublic StartupCheck getFailedStartupCheck()
StartupStateTemplate
getFailedStartupCheck
in interface JiraStartupState
getFailedStartupCheck
in class StartupStateTemplate
public void setFailedStartupCheck(StartupCheck startupCheck)
StartupStateTemplate
setFailedStartupCheck
in interface JiraStartupState
setFailedStartupCheck
in class StartupStateTemplate
startupCheck
- a StartupCheckpublic void onPluginSystemStopped()
JiraStartupState
onPluginSystemStopped
in interface JiraStartupState
public void onPluginSystemRestarted()
JiraStartupState
onPluginSystemRestarted
in interface JiraStartupState
public void onJiraStopping()
JiraStartupState
onJiraStopping
in interface JiraStartupState
protected 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 |