Package com.atlassian.confluence.upgrade
Interface UpgradeTask
-
- All Superinterfaces:
UpgradeTaskInfo
- All Known Subinterfaces:
DatabaseUpgradeTask
,DeferredUpgradeTask
- All Known Implementing Classes:
AbstractConstraintCreationUpgradeTask
,AbstractDeferredRunUpgradeTask
,AbstractIndexContentUpgradeTask
,AbstractPageTemplateMigrationUpgradeTask
,AbstractUpgradeTask
,AbstractUserMappingUpgradeTask
,AddMissingOsPropertyIndexUpgradeTask
,AddMissingUnmanagedUniqueConstraintsUpgradeTask
,AuditLoggingSchemaUpgradeTask
,BandanaKeyUniqueConstraintUpgradeTask
,BandanaTokenCleanupUpgradeTask
,BandanaXStreamValueUpgradeTask
,CheckAndFixSQLServerCatalogNameInJDBCConnectionUrlUpgradeTask
,CorrectCsvAttachmentMimeTypeUpgradeTask
,DatabaseValidationQueryMigrationUpgradeTask
,DbTrueFalseTypeFixUpgradeTask
,DeleteTemporaryAttachmentUploadsUpgradeTask
,DenormalisedContentPermissionsTriggersUpgradeTask
,DenormalisedContentPermissionsUpgradeTask
,DenormalisedContentStatusUpgradeTask
,DenormalisedPermissionsTriggersUpgradeTask
,DenormalisedSpacePermissionsUpgradeTask
,DisableBackupJobUpgradeTask
,DropAndRecreateSynchronyEventsIndexUpgradeTask
,DropAndUpdateContentIndexesUpgradeTask
,DropTrackBackAndReferrerTablesUpgradeTask
,EmbeddedCrowdAddGroupExternalIdUpgradeTask
,EmbeddedCrowdSchemaUpgradeTask
,FixWrongSpaceLinksUpgradeTask
,Hibernate5ConstraintNamesPostSchemaUpgradeTask
,Hibernate5ConstraintNamesPreSchemaUpgradeTask
,IndexDraftsUpgradeTask
,MigrateScheduledJobCacheUpgradeTask
,MigrateTrashDateUpgradeTask
,NullModificationDateDraftUpgradeTask
,ReindexAllBlogsUpgradeTask
,RemoveESIndexJournalVerifierUpgradeTask
,RemovePluginLicenseStoragePluginUpgradeTask
,RenameTempDirPropertyUpgradeTask
,ReplaceC3p0ConnectionPoolWithHikariCPUpgradeTask
,ResetJournalStateUpgradeTask
,ServerADGSUpgradeTask
,SplitIndexUpgradeTask
,SplitJournalUpgradeTask
,SynchronyBtfOffUpgradeTask
,SynchronyEvictionEventsPostSchemaUpgradeTask
,SynchronyEvictionEventsPreSchemaUpgradeTask
,SynchronyEvictionPropertiesCleanupUpgradeTask
,SynchronyEvictionSnapshotPreSchemaUpgradeTask
,SynchronyEvictionSnapshotsPostSchemaUpgradeTask
,SynchronyPidFileRemovalUpgradeTask
,UnindexContentTypeUpgradeTask
,UpdateSpacePermissionsIndexUpgradeTask
,WikiToXhtmlMigrationUpgradeTask
public interface UpgradeTask extends UpgradeTaskInfo
Upgrade task.Don't forget the ugprade tasks are also run on backup import: Please implement
BackupSupport
and declare your backward-compatibility.
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
log
All upgrade tasks should use this log for convenience, unless there's some overriding reason to use a different log
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doUpgrade()
Perform the upgrade.BuildNumberUpgradeConstraint
getConstraint()
Collection<UpgradeError>
getErrors()
Return any errors that occur.void
validate()
Validates that this upgrade task can be performed.-
Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTaskInfo
getBuildNumber, getName, getShortDescription, isDatabaseUpgrade
-
-
-
-
Method Detail
-
getConstraint
BuildNumberUpgradeConstraint getConstraint()
- Returns:
- the constraint that must be passed for this task to be run.
-
validate
void validate() throws Exception
Validates that this upgrade task can be performed.- Throws:
Exception
-
getErrors
Collection<UpgradeError> getErrors()
Return any errors that occur. Each entry is anUpgradeError
.- Returns:
- a collection of
UpgradeError
objects, sometimes null.
-
-