public abstract class AbstractUserMappingUpgradeTask extends AbstractUpgradeTask implements DatabaseUpgradeTask
Note that various "post schema" upgrade tasks assume this task has already run and make the assumption
that all content referenced users as well as crowd users (which may not yet have associated content)
are populated in the user_mapping table (ConfluenceUser). e.g. UserIndexingUpgradeTask
.
log
Constructor and Description |
---|
AbstractUserMappingUpgradeTask(ConfluenceUserDao confluenceUserDao,
BatchOperationManager batchOperationManager) |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade()
Perform the upgrade.
|
protected abstract Set<String> |
getUsernamesMissingMapping() |
addAllErrors, addError, addError, getBuildNumber, getConstraint, getErrors, getName, getShortDescription, isDatabaseUpgrade, setBeanName, setBuildNumber, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConstraint, getErrors, validate
getBuildNumber, getName, getShortDescription, isDatabaseUpgrade
breaksBackwardCompatibility, runOnSpaceImport
public AbstractUserMappingUpgradeTask(ConfluenceUserDao confluenceUserDao, BatchOperationManager batchOperationManager)
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
Copyright © 2003–2020 Atlassian. All rights reserved.