|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.upgrade.upgradetask.AttachmentsFileSizeUpgradeTask
public class AttachmentsFileSizeUpgradeTask
Task that goes through all attachments and makes sure the files are the right size.
| Constructor Summary | |
|---|---|
AttachmentsFileSizeUpgradeTask()
|
|
| Method Summary | |
|---|---|
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
|
Collection<UpgradeError> |
getErrors()
Return any errors that occur. |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
setAttachmentManager(AttachmentManager attachmentManager)
|
void |
setSettingsManager(SettingsManager settingsManager)
|
void |
validate()
Validates that this upgrade task can be performed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentsFileSizeUpgradeTask()
| Method Detail |
|---|
public void setAttachmentManager(AttachmentManager attachmentManager)
public void setSettingsManager(SettingsManager settingsManager)
public String getBuildNumber()
getBuildNumber in interface UpgradeTaskpublic String getShortDescription()
UpgradeTask
getShortDescription in interface UpgradeTaskpublic void validate()
UpgradeTask
validate in interface UpgradeTask
public void doUpgrade()
throws Exception
UpgradeTask
doUpgrade in interface UpgradeTaskExceptionpublic Collection<UpgradeError> getErrors()
UpgradeTaskUpgradeError.
getErrors in interface UpgradeTaskUpgradeError objects, sometimes null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||