@ParametersAreNonnullByDefault public interface StartupModeReference
StartupMode
.
This component is only ever available from the full Pico container, because
its initialise()
method requires the database to be available.Modifier and Type | Method and Description |
---|---|
StartupMode |
get()
Returns the startup mode.
|
void |
initialise()
Sets the startup mode based on the current instance state.
|
default boolean |
isUpgrading()
Indicates whether JIRA started in upgrade mode (even if the upgrade is now complete).
|
void initialise()
IllegalStateException
- if the mode has already been set@Nonnull StartupMode get()
IllegalStateException
- if the mode has not yet been setdefault boolean isUpgrading()
Copyright © 2002-2021 Atlassian. All Rights Reserved.