|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.AbstractUpgradeTask com.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()
|
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
setAttachmentManager(AttachmentManager attachmentManager)
|
void |
setSettingsManager(SettingsManager settingsManager)
|
void |
validate()
This is only implemented in this abstract base class for the convenience of the large number of older upgrade tasks. |
Methods inherited from class com.atlassian.confluence.upgrade.AbstractUpgradeTask |
---|
addAllErrors, addError, addError, getConstraint, getErrors, setBuildNumber |
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 UpgradeTask
getBuildNumber
in class AbstractUpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
getShortDescription
in class AbstractUpgradeTask
public void validate()
AbstractUpgradeTask
This is only implemented in this abstract base class for the convenience of the large number of older upgrade tasks.
If you are implementing a new UpgradeTask you must give some consideration to implementing validation as well.
validate
in interface UpgradeTask
validate
in class AbstractUpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |