public class DefaultSetupPersister extends Object implements BambooSetupPersister
| Modifier and Type | Field and Description |
|---|---|
static String |
SETUP_ADMIN |
static String |
SETUP_DATA |
static String |
SETUP_DB |
static String |
SETUP_DEFAULT_DATABASE |
static String |
SETUP_DEFAULT_GENERAL |
static String |
SETUP_FINISH |
static String |
SETUP_GENERAL |
static String |
SETUP_LICENSE_STEP |
| Constructor and Description |
|---|
DefaultSetupPersister() |
| Modifier and Type | Method and Description |
|---|---|
<T> io.atlassian.fugue.Either<Boolean,Optional<T>> |
executeSetupStep(@NotNull String expectedStep,
@NotNull ErrorCollection errorCollection,
@NotNull Callable<T> callable) |
boolean |
executeSetupStep(@NotNull String expectedStep,
@NotNull ErrorCollection errorCollection,
@NotNull Runnable runnable) |
void |
finishSetup()
Ensures that the bootstrapManager is written to a complete state
by overriding all other remaining operations.
|
List<String> |
getCompletedSteps() |
String |
getCurrentStep() |
String |
getSetupType() |
List<String> |
getUncompletedSteps() |
boolean |
isDemonstrationContentInstalled() |
void |
progessSetupStep() |
void |
setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig) |
void |
setDemonstrationContentInstalled() |
void |
setSetupType(String setupType) |
public static final String SETUP_LICENSE_STEP
public static final String SETUP_DB
public static final String SETUP_DATA
public static final String SETUP_GENERAL
public static final String SETUP_ADMIN
public static final String SETUP_FINISH
public static final String SETUP_DEFAULT_GENERAL
public static final String SETUP_DEFAULT_DATABASE
public List<String> getUncompletedSteps()
getUncompletedSteps in interface com.atlassian.config.setup.SetupPersisterpublic List<String> getCompletedSteps()
getCompletedSteps in interface com.atlassian.config.setup.SetupPersisterpublic String getSetupType()
getSetupType in interface com.atlassian.config.setup.SetupPersisterpublic void setSetupType(String setupType)
setSetupType in interface com.atlassian.config.setup.SetupPersisterpublic boolean executeSetupStep(@NotNull
@NotNull String expectedStep,
@NotNull
@NotNull ErrorCollection errorCollection,
@NotNull
@NotNull Runnable runnable)
executeSetupStep in interface BambooSetupPersisterpublic <T> io.atlassian.fugue.Either<Boolean,Optional<T>> executeSetupStep(@NotNull @NotNull String expectedStep, @NotNull @NotNull ErrorCollection errorCollection, @NotNull @NotNull Callable<T> callable) throws com.atlassian.config.setup.SetupException
executeSetupStep in interface BambooSetupPersistercom.atlassian.config.setup.SetupExceptionpublic void finishSetup()
finishSetup in interface com.atlassian.config.setup.SetupPersisterpublic void progessSetupStep()
progessSetupStep in interface com.atlassian.config.setup.SetupPersisterpublic String getCurrentStep()
getCurrentStep in interface com.atlassian.config.setup.SetupPersisterpublic boolean isDemonstrationContentInstalled()
isDemonstrationContentInstalled in interface com.atlassian.config.setup.SetupPersisterpublic void setDemonstrationContentInstalled()
setDemonstrationContentInstalled in interface com.atlassian.config.setup.SetupPersisterpublic void setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig)
Copyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.