com.atlassian.confluence.upgrade.upgradetask
Class FopConfigAndFontMetricsUpgradeTask
java.lang.Object
com.atlassian.confluence.upgrade.upgradetask.FopConfigAndFontMetricsUpgradeTask
- All Implemented Interfaces:
- UpgradeTask
public class FopConfigAndFontMetricsUpgradeTask
- extends java.lang.Object
- implements UpgradeTask
With the upgrade to the new version of FOP (from version 0.20.5 to a trunk version), the format of metrics file has changed.
This upgrade task will determine if a custom font has been installed and if so will regenerate the metrics file.
| Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask |
log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FopConfigAndFontMetricsUpgradeTask
public FopConfigAndFontMetricsUpgradeTask()
getBuildNumber
public java.lang.String getBuildNumber()
- Specified by:
getBuildNumber in interface UpgradeTask
- Returns:
- The build number that this upgrade is applicable to
getShortDescription
public java.lang.String getShortDescription()
- Description copied from interface:
UpgradeTask
- A short (<50 chars) description of the upgrade action
- Specified by:
getShortDescription in interface UpgradeTask
doUpgrade
public void doUpgrade()
- This is a non critical upgrade. We should not halt the whole upgrade process and require the user perform another upgrade from scratch if any part of this fails.
- Specified by:
doUpgrade in interface UpgradeTask
setFontManager
public void setFontManager(FontManager fontManager)
getErrors
public java.util.Collection getErrors()
- Description copied from interface:
UpgradeTask
- Return any errors that occur. Each entry is an UpgradeError.
- Specified by:
getErrors in interface UpgradeTask
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.