|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JiraStartupState
Interface for JIRA startup states. The startup state contains any startup checks that need to be performed when JIRA is in a given state.
BootstrappingStartupState
,
RunningStartupState
Method Summary | |
---|---|
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 |
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. |
Method Detail |
---|
boolean isStartupChecksPassed()
StartupCheck getFailedStartupCheck()
void setFailedStartupCheck(StartupCheck startupCheck)
startupCheck
- a StartupCheckvoid onPluginSystemStarted() 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 state
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |