com.atlassian.confluence.upgrade
Class AttachmentsFileSizeUpgradeTask

java.lang.Object
  extended by com.atlassian.confluence.upgrade.AttachmentsFileSizeUpgradeTask
All Implemented Interfaces:
com.atlassian.upgrade.UpgradeTask

public class AttachmentsFileSizeUpgradeTask
extends java.lang.Object
implements com.atlassian.upgrade.UpgradeTask

Task that goes through all attachments and makes sure the files are the right size.


Constructor Summary
AttachmentsFileSizeUpgradeTask()
           
 
Method Summary
 void doUpgrade()
           
 java.lang.String getBuildNumber()
           
 java.util.Collection getErrors()
           
 java.lang.String getShortDescription()
           
 void setAttachmentManager(AttachmentManager attachmentManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentsFileSizeUpgradeTask

public AttachmentsFileSizeUpgradeTask()
Method Detail

setAttachmentManager

public void setAttachmentManager(AttachmentManager attachmentManager)

getBuildNumber

public java.lang.String getBuildNumber()
Specified by:
getBuildNumber in interface com.atlassian.upgrade.UpgradeTask

getShortDescription

public java.lang.String getShortDescription()
Specified by:
getShortDescription in interface com.atlassian.upgrade.UpgradeTask

doUpgrade

public void doUpgrade()
               throws java.lang.Exception
Specified by:
doUpgrade in interface com.atlassian.upgrade.UpgradeTask
Throws:
java.lang.Exception

getErrors

public java.util.Collection getErrors()
Specified by:
getErrors in interface com.atlassian.upgrade.UpgradeTask


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.