com.atlassian.confluence.upgrade
Class FopConfigAndFontMetricsUpgradeTask
java.lang.Object
com.atlassian.confluence.upgrade.FopConfigAndFontMetricsUpgradeTask
- All Implemented Interfaces:
- com.atlassian.upgrade.UpgradeTask
public class FopConfigAndFontMetricsUpgradeTask
- extends java.lang.Object
- implements com.atlassian.upgrade.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.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 com.atlassian.upgrade.UpgradeTask
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescription
in interface com.atlassian.upgrade.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 com.atlassian.upgrade.UpgradeTask
setFontManager
public void setFontManager(FontManager fontManager)
getErrors
public java.util.Collection getErrors()
- Specified by:
getErrors
in interface com.atlassian.upgrade.UpgradeTask
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.