com.atlassian.confluence.upgrade.upgradetask
Class ConvertToRelativeLinksTask

java.lang.Object
  extended by com.atlassian.confluence.upgrade.upgradetask.ConvertToRelativeLinksTask
All Implemented Interfaces:
BatchTask<ContentEntityObject>

public class ConvertToRelativeLinksTask
extends java.lang.Object
implements BatchTask<ContentEntityObject>


Constructor Summary
ConvertToRelativeLinksTask(ContentDao contentDao, XhtmlLinksUpdater linksUpdater)
           
 
Method Summary
 boolean apply(ContentEntityObject entity, int index, int batchSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertToRelativeLinksTask

public ConvertToRelativeLinksTask(ContentDao contentDao,
                                  XhtmlLinksUpdater linksUpdater)
Method Detail

apply

public boolean apply(ContentEntityObject entity,
                     int index,
                     int batchSize)
              throws java.lang.CloneNotSupportedException
Specified by:
apply in interface BatchTask<ContentEntityObject>
Parameters:
entity - the item to be operate on
index - the index of this item in its batch
batchSize - the size of the batch
Returns:
true if the item required work to be done, false otherwise
Throws:
java.lang.CloneNotSupportedException


Copyright © 2003-2014 Atlassian. All Rights Reserved.