Class AbstractPhase2MoveAdminConfigToDatabaseUpgradeTask
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.tasks.AbstractPhase2MoveAdminConfigToDatabaseUpgradeTask
- All Implemented Interfaces:
UpgradeTask
@Component
public abstract class AbstractPhase2MoveAdminConfigToDatabaseUpgradeTask
extends AbstractUpgradeTask
An abstract task that should be used whenever an upgrade task for AdminConfig->DB migration is done.
Helps with moving the content from a file created in Phase 1
AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
into the db.-
Field Summary
Modifier and TypeFieldDescriptionprotected final @NotNull AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask
protected CustomizableXStreamFactory
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractPhase2MoveAdminConfigToDatabaseUpgradeTask
(@NotNull String shortDescription, @NotNull AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask phase1UpgradeTask) -
Method Summary
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
getBuildNumber, getErrors, getShortDescription
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.upgrade.UpgradeTask
doUpgrade
-
Field Details
-
xstreamFactory
-
phase1UpgradeTask
@NotNull protected final @NotNull AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask phase1UpgradeTask
-
-
Constructor Details
-
AbstractPhase2MoveAdminConfigToDatabaseUpgradeTask
protected AbstractPhase2MoveAdminConfigToDatabaseUpgradeTask(@NotNull @NotNull String shortDescription, @NotNull @NotNull AbstractPhase1MoveAdminConfigToDatabaseUpgradeTask phase1UpgradeTask)
-
-
Method Details
-
getValidPhase1File
-