| Package | Description | 
|---|---|
| com.atlassian.confluence.upgrade | |
| com.atlassian.confluence.upgrade.upgradetask | |
| com.atlassian.confluence.upgrade.upgradetask.attachmentceo | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | DatabaseUpgradeTaskA marker interface to be implemented by upgrade tasks that perform operations on the database. | 
| interface  | DeferredUpgradeTaskAn upgrade task that has a property indicating that it's run should be deferred until some later time. | 
| interface  | UpgradeTaskUpgrade task. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractDeferredRunUpgradeTask | 
| class  | AbstractUpgradeTaskA useful base class for UpgradeTasks. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<UpgradeTaskInfo> | UpgradeTaskInfoService. getAllUpgradeTasksInfo() | 
| Collection<UpgradeTaskInfo> | AbstractUpgradeManager. getAllUpgradeTasksInfo()While this could just return the list of UpgradeTasks directly (since UpgradeTask implements UpgradeTaskInfo),
 we re-wrap them here to prevent plugins from casting them to UpgradeTask and trying to execute them. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractConstraintCreationUpgradeTaskAn abstract upgrade task for when you just want to run a bunch of constraint creation statements from a properties
 file. | 
| class  | AbstractIndexContentUpgradeTask | 
| class  | AbstractPageTemplateMigrationUpgradeTaskBase class for upgrade tasks that want to migrate page templates from one format to another. | 
| class  | AbstractUserMappingUpgradeTaskUpgrade task to ensure that for all the user names in Confluence a ConfluenceUser object
 exist. | 
| class  | AddHibernateVersionColumnUpgradeTaskCreate the new HibernateVersion column (CONF-32286) | 
| class  | AddMissingOsPropertyIndexUpgradeTaskAdd an OS_PROPERTYENTRY index missed in instances freshly installed with Confluence 5.6 - 5.8
 See more details in https://extranet.atlassian.com/x/eADd_/ | 
| class  | AddMissingUnmanagedUniqueConstraintsUpgradeTaskBecause of CONFSERVER-38706, some unique constraints which are not managed by Hibernate have been missing
  for instances freshly installed with Confluence 5.6 - 5.8. | 
| class  | AddSpacePermissionSubjectColumnUpgradeTaskAdd the 'subject' column to the SpacePermission table. | 
| class  | AddSpaceStatusColumnUpgradeTaskPopulate the space status column. | 
| class  | AddUniqueAttachmentIdConstraintToAttachmentDataUpgradeTaskThis task adds a unique constraint to the AttachmentId column on the AttachmentData table. | 
| class  | AttachmentLabellingUpgradeTask | 
| class  | AttachmentRemoveFileStoreIDsUpgradeTaskDeprecated. 
 since 7.12 | 
| class  | AuditLoggingSchemaUpgradeTaskMarks the three audit logging tables listed in AuditRecord.hbm.xml | 
| class  | BandanaKeyUniqueConstraintUpgradeTaskAlter the Bandana table to make sure the Bandana context and keys have not null and unique constraints on them. | 
| class  | BandanaXStreamValueUpgradeTaskMigrates Bandana values stored with XStream 1.1.1 format to XStream 1.4.1 based format. | 
| class  | ChangeSpaceDescriptionsBodyTypeUpgradeTaskThis upgrade task has two responsibilities: (1) update all SpaceDescriptions that have a BodyContent with type BodyType.XHTML back to BodyType.WIKI. (2) resolve all entity references introduced as a result of erroneously marking SpaceDescription's as XHTML to begin with. | 
| class  | CheckAndFixSQLServerCatalogNameInJDBCConnectionUrlUpgradeTaskThis task will check, and fix the catalog name being used in the JDBC connection url
 used in confluence.cfg.xml to be correctly cased. | 
| class  | ConditionallyEnableMailArchivePluginUpgradeTaskThe mail archive feature is now packaged as a plugin and disabled by default. | 
| class  | ContainedCustomContentEntityObjectUpgradeTaskThis upgrade task tracks the schema change that makes
  CustomContentEntityObjects use the same PAGEID column as commentsComments, for the same reason: so custom content can be contained by a content object. | 
| class  | ContentIndexUpgradeTaskAdd a multi-column index to content table that speeds up many common queries. | 
| class  | ContentParentTypeFixingUpgradeTaskWhen writing StorageToAoMigrationUpgradeTask in the Inline Tasks plugin, we discovered that CAC had some trashed
 pages whose parent was a blog post. | 
| class  | ContentPermissionConstraintsUpgradeTaskAdds required multi-column unique constraints to the content permission tables. | 
| class  | ContentPermissionUserDeduplicationUpgradeTaskThis upgrade task finds and deletes any redundant duplicate identifier values in the configured list of tables and
 columns. | 
| class  | ContentTypeIndexUpgradeTaskAdds the c_contenttype_idx index for contenttype column in the content table. | 
| class  | ConvertToRelativeLinksUpgradeTaskConverts any absolute links in storage format to relative links. | 
| class  | CorrectCsvAttachmentMimeTypeUpgradeTaskThis upgrade task is to set the mime type for csv files to "text/csv". | 
| class  | CorrectPNGImageAttachmentMimeTypeUpgradeTaskCONF-26848 - This task will update the mime type for png images that incorrectly had it set to 'img/png'
 If you run this task manually, you should flush the Attachments cache | 
| class  | CrowdUsersUserMappingUpgradeTaskUpgrade task to ensure that for all the users in Confluence a ConfluenceUser object exist. | 
| class  | DatabaseValidationQueryMigrationUpgradeTaskThis task implements the changes in CONFSRVDEV-17301. | 
| class  | DefaultSpaceContentPageLayoutsUpgradeTaskUpdates the default space content that will be used for new spaces to use page layouts. | 
| class  | DefaultSpaceContentToPageTemplateUpgradeTask | 
| class  | DeferredMacroExecutionUpgradeTaskThis upgrade task deletes backward-incompatible changes of the previous BigPipe implementation | 
| class  | DeleteDidYouMeanIndexFolderUpgradeTask | 
| class  | DeleteTemporaryAttachmentUploadsUpgradeTaskThis upgrade task removes all  attachment-*.tmpfiles from java temp directory. | 
| class  | DenormalisedContentPermissionsTriggersUpgradeTaskRe-creates all required triggers and functions for denormalised permissions. | 
| class  | DenormalisedContentPermissionsUpgradeTaskCreates all required triggers, functions and indexes for denormalised content permissions. | 
| class  | DenormalisedContentStatusUpgradeTaskRemoves all records and populates denormalised_content table again if service was enabled to fix problem with content status | 
| class  | DenormalisedPermissionsTriggersUpgradeTaskRe-creates all required triggers and functions for denormalised permissions. | 
| class  | DenormalisedSpacePermissionsUpgradeTaskCreates all required triggers, functions and indexes for denormalised space permissions. | 
| class  | DisableBackupJobUpgradeTaskSee CONFSRVDEV-6463 | 
| class  | DisableConfluenceInvitePluginUpgradeTaskDisables the Confluence Invite Plugin - which used to be bundled as part of the Confluence Fireball release,
 but may have also been installed by customers in a behind the fireball instance. | 
| class  | DropAndRecreateSynchronyEventsIndexUpgradeTaskDrop the old events table indexes, and recreate using the correct column ordering. | 
| class  | DropAndUpdateContentIndexesUpgradeTaskThis upgrade task is to fix index rebuilding performance issues mainly caused by some low cardinality indexes. | 
| class  | DropContentLockTableUpgradeTaskThe CONTENTLOCK table was finally removed in Confluence 4.2, and needs to be dropped lest its hanging foreign
 key constraint cause issues. | 
| class  | DropSpaceGroupTablesUpgradeTaskTable SPACEGROUPS, table SPACEGROUPPERMISSIONS, and column SPACES.SPACEGROUPID are not
 used any more. | 
| class  | DropTrackBackAndReferrerTablesUpgradeTaskTable TRACKBACKLINKS and table EXTRNLNKS are not used any more. | 
| class  | EhCacheConfigMigrationUpgradeTaskAn upgrade task which migrates EhCache config. | 
| class  | EmbeddedCrowdAddGroupExternalIdUpgradeTaskAdds hibernate mapping for externalId property of  InternalGroupor rather logs
 that the crowd schema got updated, because Hibernate should take care of updating things for us | 
| class  | EmbeddedCrowdAddMissingConstraintsClearDataUpgradeTaskThis task will remove duplicates that potentially can prevent creating necessary constraints in cwd_membership table. | 
| class  | EmbeddedCrowdAddMissingConstraintsUpgradeTaskAdds required multi-column unique constraints to the Crowd database tables. | 
| class  | EmbeddedCrowdAttributeMappingUpgradeTaskAdds hibernate mappings for the attributes properties of the  InternalUserandInternalGroup. | 
| class  | EmbeddedCrowdMembershipAggregationUpgradeTaskCrowd 2.8 brings a choice between 2 membership aggregation semantics: aggregating and non-aggregating. | 
| class  | EmbeddedCrowdPropertySetFactoryMigrationUpgradeTaskConverts user preferences and other user properties (e.g. | 
| class  | EmbeddedCrowdSchemaUpgradeTaskAdds required multi-column unique constraints to the Crowd database tables | 
| class  | FixWrongSpaceLinksUpgradeTaskSee CONFSERVER-45278
 Fixes invalid space links in drafts
 Complexity is O(log(amount of documents) + amount of broken documents)
 We expect that there will be few broken documents (or zero) | 
| class  | GenericContentPropertiesUpgradeTaskThis upgrade task tracks the schema change that moves  ContentPropertiesfromCustomContentEntityObjectto the genericContentEntityObject. | 
| class  | Hibernate5ConstraintNamesPostSchemaUpgradeTaskUpgrade the database schema unique constraints in the hibernate 5 naming style. | 
| class  | Hibernate5ConstraintNamesPreSchemaUpgradeTaskDrop existing hibernate 2 constraints to allow SchemaUpdate to re-create them in the hibernate 5 naming style. | 
| class  | IndexDraftsUpgradeTaskThis upgrade task is meant to index all the draft contents which were not indexable in prior versions, it will
 then allow users to access their existing drafts directly through the dashboard. | 
| class  | InitialiseIndexJournalStateUpgradeTaskThis upgrade task migrates index task queue state to journal state. | 
| class  | InstallationDateUpgradeTaskPersists installation date of the Confluence instance. | 
| class  | JiraIssueMacroServerParamsUpgradeTaskCONF-25329: This upgrade task adds additional Jira Issue macro params that allow us to resolve a renamed application link. | 
| class  | LikesDanglingFKCleanupUpgradeTaskPreviously likes on comments were not deleted when the parent page was removed. | 
| class  | LikesSqlConstraintsUpgradeTask | 
| class  | LoginInfoDuplicateEntryRemovalUpgradeTaskGoes through the LoginInfo database table and looks for multiple rows corresponding to the same user, removing
 duplicates where it finds them. | 
| class  | LowerCaseUsernameReferencesUpgradeTaskUpdates username references to contain lower-cased usernames. | 
| class  | MailConvertToCustomContentUpgradeTask | 
| class  | MailServerTimeoutUpgradeTaskUpdates existing SMTP mail server configurations with an appropriate and short timeout (both socket and connection timeouts). | 
| class  | MailServerUpgradeTask | 
| class  | MigrateDocThemeSettingsToCustomPageSettingsThis upgrade tasks migrates over Documentation theme settings to the default theme's Custom Page Settings. | 
| class  | MigrateIndexTaskQueueToJournalUpgradeTaskThis upgrade task migrates recent entries from index queue to journal
 subsystem. | 
| class  | MigrateMailArchiveConfigurationUpgradeTask | 
| class  | MigrateOndemandDocThemeCustomizations | 
| class  | MigrateTrashDateUpgradeTaskSet trash date for pre-7.14 items in the trash | 
| class  | MsSqlServerAoUpgradeTaskThis upgrade task will upgrade AO schema columns from varchar to nvarchar | 
| class  | NewColourUpgradeTask | 
| class  | NotificationPageColumnUpgradeTask | 
| class  | NullModificationDateDraftUpgradeTaskAs we update the logic of `removeStaleSharedDrafts`, we should call it in our upgrading task to make sure
 invalid data is cleaned up. | 
| class  | OnDemandSpacePermissionsDefaultUpgradeTaskMigrates A la carte default space permission settings from a studio specific context to the Confluence default
 context. | 
| class  | PageTemplateWikiToXhtmlMigrationUpgradeTaskConvert all wiki formatted content to XHTML content as part of the upgrade. | 
| class  | PageTemplateXhtmlRoundTripMigrationUpgradeTaskMigrates page templates using a storage format round trip process. | 
| class  | PersonalSpaceCreatorCheckUpgradeTaskAn upgrade task which ensures that all personal spaces have a creator user which matches their user name. | 
| class  | PopulateLowerFieldsUpgradeTaskPopulates new fields that are lower-cased copies of other fields. | 
| class  | RebuildFavouriteContentIndexUpgradeTaskTrigger a rebuild of the lucene index, for label creation date of favourite labels. | 
| class  | RebuildIndexUpgradeTaskTrigger a rebuild of the lucene index | 
| class  | ReferencedUsersUserMappingUpgradeTaskUpgrade task to ensure that for all the user names in Confluence a ConfluenceUser object exist. | 
| class  | ReindexAllBlogsUpgradeTaskUpgrade task to re-index all blog post objects. | 
| class  | ReindexAllSpacesUpgradeTaskUpgrade task to re-index all space objects. | 
| class  | RelationConstraintsPostSchemaUpgradeTaskThis is upgrade task to fix issue with multi-column unique constraints, caused by https://hibernate.atlassian.net/browse/HB-1245. | 
| class  | RelationConstraintsPreSchemaUpgradeTaskThis is upgrade task to fix issue with multi-column unique constraints, caused by https://hibernate.atlassian.net/browse/HB-1245. | 
| class  | RelationServiceUpgradeTask | 
| class  | RemoveConfluenceThreadDumpPluginUpgradeTaskUpgrade task to remove the Confluence Thread Dump plugin from existing Confluence instances. | 
| class  | RemoveEmailToPageWelcomeUpgradeTask | 
| class  | RemoveESIndexJournalVerifierUpgradeTaskSee CONFSRVDEV-3031. | 
| class  | RemoveESIndexQueueFlushJobUpgradeTaskSee CONFDEV-40236. | 
| class  | RemoveFixedWidthThemeUpgradeTask | 
| class  | RemoveInvalidSpaceWatchersUpgradeTask | 
| class  | RemovePeopleDirectoryDuplicatesUpgradeTaskThe index flushing strategy is (intentionally) inaccurate and relies on an in-memory 'flushed entries' cache
 to prevent the same object being flushed twice. | 
| class  | RemovePluginLicenseStoragePluginUpgradeTaskUpgrade task to remove the UPM Plugin License Storage Plugin from existing Confluence instances. | 
| class  | RemoveRemoteAppsPluginUpgradeTaskUpgrade task to remove the remotable app i18n plugin from existing confluence instances. | 
| class  | RenameEhcachePropertiesUpgradeTaskRenames ehcache properties to have more generic name so it could be used for cache tuning across different cache
 providers | 
| class  | ReplaceC3p0ConnectionPoolWithHikariCPUpgradeTaskThis task implements the changes in CONFSRVDEV-20791. | 
| class  | ServerADGSUpgradeTaskMigrating old color scheme for spaces and global | 
| class  | SetAttachmentStorageSettingForClustersUpgradeTaskSet attachment storage type setting to database for clustered instances. | 
| class  | SplitIndexUpgradeTask | 
| class  | SplitJournalUpgradeTaskDoes 2 things:
 
  
      Updates the journalentry table to move items from main_index to change_index if they are:
      
          DELETE_CHANGE_DOCUMENTS
          DELETE_CHANGE_DOCUMENTS
          ADD_CHANGE_DOCUMENT
          REBUILD_CHANGE_DOCUMENTS
      
  
  
      writes the most recent id from the main_index journal to the change_index journal so that the change_index
      will continue at the same item as the main_index as the  SplitIndexUpgradeTaskwill already have copied
      the relevant changes to the new index. | 
| class  | SynchronyBtfOffUpgradeTaskSee https://bulldogwiki.internal.atlassian.com/wiki/x/C4CvE for details. | 
| class  | SynchronyEvictionEventsPostSchemaUpgradeTaskCreate compound indexes for Synchrony tables. | 
| class  | SynchronyEvictionEventsPreSchemaUpgradeTaskWe drop synchrony tables and then recreate them from scratch instead of truncating because of the Hibernate bug
 that can't alter existing quoted tables. | 
| class  | SynchronyEvictionPropertiesCleanupUpgradeTaskSince we're removing all synchrony data, we also need to delete content properties which reference this data. | 
| class  | SynchronyEvictionSnapshotPreSchemaUpgradeTaskWe drop synchrony tables and then recreate them from scratch instead of truncating because of the Hibernate bug
 that can't alter existing quoted tables. | 
| class  | SynchronyEvictionSnapshotsPostSchemaUpgradeTaskCreate compound indexes for Synchrony tables. | 
| class  | SynchronyPidFileRemovalUpgradeTaskDeletes synchrony.pid file as it's not used by Confluence anymore. | 
| class  | UnindexContentTypeUpgradeTask | 
| class  | UnindexUserStatusUpgradeTask | 
| class  | UpdateSpacePermissionsIndexUpgradeTaskThis upgrade task is to fix an index defined on spacepermissions table as hibernate schema update tool
 is not able to update the definition of the multi-column index. | 
| class  | UserIndexingUpgradeTaskUpgrade task to ensure that for all the user names attached to content in Confluence a PersonalInformation objects
 exist. | 
| class  | UserKeyReferenceUpgradeTaskUpgrade tasks to update all tables with user name references to have user key references. | 
| class  | UserMappingLowerUsernameSchemaUpgradeTaskUpgrade task which will make lower_username column nullable. | 
| class  | UserMappingSchemaUpgradeTaskUpgrade tasks which will explicitly create the UserMapping table (from Hibernate configuration). | 
| class  | WelcomeMessageUpgradeTask | 
| class  | WikiToXhtmlMigrationUpgradeTaskConvert all wiki formatted content to XHTML content as part of the upgrade. | 
| class  | XhtmlRoundTripMigrationUpgradeTaskConvert all legacy formatted content to the current XHTML format as part of the upgrade. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AttachmentContentStatusUpgradeTaskAttachmentToCeoConversionUpgradeTaskdid not set the content_status field to 'current' for attachments
 during migration. | 
| class  | AttachmentToCeoConversionUpgradeTaskMigrates  Attachmentobjects to be a type ofContentEntityObject | 
Copyright © 2003–2022 Atlassian. All rights reserved.