public abstract class UpgradeObject extends Object implements Upgradeable
Upgradeable
interface.| 限定符和类型 | 字段和说明 |
|---|---|
protected short |
status |
| 构造器和说明 |
|---|
UpgradeObject() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(Upgradeable o) |
boolean |
equals(Object o) |
String |
getDescription()
Description of the upgrade object for displaying.
|
short |
getUpgradeStatus()
Upgrade status determines a percentage of the work done out of the total
amount required by the upgrade.
100% means that the upgrade is completed.
|
UpgradeStatusReport |
getUpgradeStatusReport(boolean details)
Get status report for the upgrade.
|
int |
hashCode() |
completeUpgrade, getType, getVersion, startUpgradepublic short getUpgradeStatus()
UpgradeablegetUpgradeStatus 在接口中 Upgradeablepublic String getDescription()
UpgradeablegetDescription 在接口中 Upgradeablepublic UpgradeStatusReport getUpgradeStatusReport(boolean details) throws IOException
UpgradeablegetUpgradeStatusReport 在接口中 Upgradeabledetails - true if upgradeStatus details need to be included,
false otherwiseUpgradeStatusReportIOExceptionpublic int compareTo(Upgradeable o)
compareTo 在接口中 Comparable<Upgradeable>Copyright © 2009 The Apache Software Foundation