com.atlassian.confluence.upgrade.upgradetask
Class HierarchicalFileSystemAttachmentMoveTask
java.lang.Object
com.atlassian.confluence.upgrade.upgradetask.HierarchicalFileSystemAttachmentMoveTask
- All Implemented Interfaces:
- java.lang.Runnable
public class HierarchicalFileSystemAttachmentMoveTask
- extends java.lang.Object
- implements java.lang.Runnable
A task that will move attachments from the previous storage layout of contentid/attachmentid/version (or for
CONF-8298 the layout last4digitsOfContentId/contentId/attachmentId/version) to the layout used by the new
HierarchicalFileSystemAttachmentDataDao
implementation.
This class is not for multi-threaded use.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HierarchicalFileSystemAttachmentMoveTask
public HierarchicalFileSystemAttachmentMoveTask(net.sf.hibernate.SessionFactory sessionFactory,
HierarchicalFileSystemAttachmentDataDao hierarchicalFileSystemAttachmentDataDao,
java.io.File attachmentsDirectory,
IdMultiPartHashGenerator multiPartHashGenerator,
org.apache.log4j.Category logger)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
Copyright © 2003-2010 Atlassian. All Rights Reserved.