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, startUpgrade
public short getUpgradeStatus()
Upgradeable
getUpgradeStatus
在接口中 Upgradeable
public String getDescription()
Upgradeable
getDescription
在接口中 Upgradeable
public UpgradeStatusReport getUpgradeStatusReport(boolean details) throws IOException
Upgradeable
getUpgradeStatusReport
在接口中 Upgradeable
details
- true if upgradeStatus details need to be included,
false otherwiseUpgradeStatusReport
IOException
public int compareTo(Upgradeable o)
compareTo
在接口中 Comparable<Upgradeable>
Copyright © 2009 The Apache Software Foundation