com.atlassian.confluence.admin.actions.migration
Class MigrateExternalMembershipsLongRunningTask

java.lang.Object
  extended by com.atlassian.core.task.longrunning.AbstractLongRunningTask
      extended by com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
          extended by com.atlassian.confluence.admin.actions.migration.MigrateExternalMembershipsLongRunningTask
All Implemented Interfaces:
com.atlassian.core.task.longrunning.LongRunningTask, java.lang.Runnable

public class MigrateExternalMembershipsLongRunningTask
extends ConfluenceAbstractLongRunningTask

Migrates memberships and groups from the external_memberships and groups tables.

This is meant to be used by customers who upgraded from a 3.4.x or below instance to 3.5 or above and want to switch to a delegated LDAP directory, and so did not copy over their atlassian-user.xml file. They would have also had to have manually configured a delegated LDAP directory before running this task.


Field Summary
 
Fields inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask
progress
 
Constructor Summary
MigrateExternalMembershipsLongRunningTask(org.springframework.transaction.PlatformTransactionManager transactionManager, com.atlassian.crowd.dao.application.ApplicationDAO applicationDao, com.atlassian.crowd.directory.loader.DirectoryInstanceLoader directoryInstanceLoader, AtlassianUserExternalDataMigrator migrator, I18NBean i18nBean)
           
 
Method Summary
 java.lang.String getName()
           
protected  void runInternal()
          Run the long running process.
 
Methods inherited from class com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
getResourceBundle, run
 
Methods inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask
getCurrentStatus, getElapsedTime, getEstimatedTimeRemaining, getNameKey, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful, stopTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrateExternalMembershipsLongRunningTask

public MigrateExternalMembershipsLongRunningTask(org.springframework.transaction.PlatformTransactionManager transactionManager,
                                                 com.atlassian.crowd.dao.application.ApplicationDAO applicationDao,
                                                 com.atlassian.crowd.directory.loader.DirectoryInstanceLoader directoryInstanceLoader,
                                                 AtlassianUserExternalDataMigrator migrator,
                                                 I18NBean i18nBean)
Method Detail

getName

public java.lang.String getName()

runInternal

protected void runInternal()
Description copied from class: ConfluenceAbstractLongRunningTask
Run the long running process. When this method exits, the process should be complete.

Specified by:
runInternal in class ConfluenceAbstractLongRunningTask


Copyright © 2003-2014 Atlassian. All Rights Reserved.