com.atlassian.user.util.migration
Class Log4jMigrationProgressListener

java.lang.Object
  extended bycom.atlassian.user.util.migration.Log4jMigrationProgressListener
All Implemented Interfaces:
MigrationProgressListener

public class Log4jMigrationProgressListener
extends java.lang.Object
implements MigrationProgressListener


Constructor Summary
Log4jMigrationProgressListener(org.apache.log4j.Logger logger)
           
 
Method Summary
 void groupMigrated()
          called on each group migration
 void groupMigrationComplete()
          called when group migration is complete
 void groupMigrationStarted(int groupsToMigrate)
          called when group migration begins
 void readonlyGroupMembershipNotMigrated(java.lang.String groupName, java.lang.String userName)
          called when a group membership cannot be migrated because the target group is readonly.
 void userMigrated()
          called on each user migrated
 void userMigrationComplete()
          called when user migration is complete
 void userMigrationStarted(int usersToMigrate)
          called when user migration begins
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jMigrationProgressListener

public Log4jMigrationProgressListener(org.apache.log4j.Logger logger)
Method Detail

userMigrationStarted

public void userMigrationStarted(int usersToMigrate)
Description copied from interface: MigrationProgressListener
called when user migration begins

Specified by:
userMigrationStarted in interface MigrationProgressListener
Parameters:
usersToMigrate - the overall number of users to migrate.

userMigrated

public void userMigrated()
Description copied from interface: MigrationProgressListener
called on each user migrated

Specified by:
userMigrated in interface MigrationProgressListener

userMigrationComplete

public void userMigrationComplete()
Description copied from interface: MigrationProgressListener
called when user migration is complete

Specified by:
userMigrationComplete in interface MigrationProgressListener

groupMigrationStarted

public void groupMigrationStarted(int groupsToMigrate)
Description copied from interface: MigrationProgressListener
called when group migration begins

Specified by:
groupMigrationStarted in interface MigrationProgressListener
Parameters:
groupsToMigrate - the overall number of groups to migrate

groupMigrated

public void groupMigrated()
Description copied from interface: MigrationProgressListener
called on each group migration

Specified by:
groupMigrated in interface MigrationProgressListener

groupMigrationComplete

public void groupMigrationComplete()
Description copied from interface: MigrationProgressListener
called when group migration is complete

Specified by:
groupMigrationComplete in interface MigrationProgressListener

readonlyGroupMembershipNotMigrated

public void readonlyGroupMembershipNotMigrated(java.lang.String groupName,
                                               java.lang.String userName)
Description copied from interface: MigrationProgressListener
called when a group membership cannot be migrated because the target group is readonly.

Specified by:
readonlyGroupMembershipNotMigrated in interface MigrationProgressListener


Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.