public interface JiraStartupState
BootstrappingStartupState,
RunningStartupState,
DelayedStartupState| Modifier and Type | Method and Description |
|---|---|
StartupCheck |
getFailedStartupCheck()
Returns the first StartupCheck that failed, if any.
|
boolean |
isStartupChecksPassed()
Returns true if this JiraStartupState's prerequisites have been satisfied (i.e.
|
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 StartupCheck that failed.
|
boolean isStartupChecksPassed()
Implementations of this method should run any necessary validity/consistency checks the first time it is called, the result of which should be cached.
StartupCheck getFailedStartupCheck()
void setFailedStartupCheck(StartupCheck startupCheck)
startupCheck - a StartupCheckvoid onPluginSystemStarted()
throws IllegalStateException
IllegalStateException - if this is not a valid event for this statevoid onPluginSystemDelayed()
throws IllegalStateException
IllegalStateException - if this is not a valid event for this statevoid onPluginSystemStopped()
throws IllegalStateException
IllegalStateException - if this is not a valid event for this statevoid onPluginSystemRestarted()
throws IllegalStateException
IllegalStateException - if this is not a valid event for this statevoid onJiraStopping()
IllegalStateException - if this is not a valid event for this stateCopyright © 2002-2015 Atlassian. All Rights Reserved.