public interface UpgradeActionStatus
Some methods in this interface may cache backing state. To obtain updated status for an upgrade action, acquire a new UpgradeActionStatus.
Modifier and Type | Method and Description |
---|---|
String |
getActionName()
Gets the name of this upgrade action.
|
String |
getPostUpgradeProgress()
Gets a characterization of this upgrade action's progress within the
post-upgrade phase.
|
String |
getPreUpgradeProgress()
Gets a characterization of this upgrade action's progress within the
pre-upgrade phase.
|
Date |
getProgressLastModified()
Gets the time the progress of this upgrade action was last updated.
|
Integer |
getProgressPercentage()
Gets an estimate of this upgrade action's progress in the current upgrade
phase, as an integer percentage.
|
int |
getStatus()
Gets the status of this upgrade action.
|
Date |
getStatusLastModified()
Gets the time the status of this upgrade action last changed.
|
long |
getUpgradeActionErrorCount()
Gets the number of errors reported by this upgrade action.
|
Iterator |
getUpgradeActionErrors()
Gets the errors reported by this upgrade action.
|
String |
getUpgradeProgress()
Gets a characterization of this upgrade action's progress within the
upgrade phase.
|
String getActionName() throws IfsException
IfsException
- if the operation failsint getStatus() throws IfsException
Must be one of the following values:
UpgradeStatus.STATUS_INITIALIZED
UpgradeStatus.STATUS_ANALYZING
UpgradeStatus.STATUS_ANALYZED
UpgradeStatus.STATUS_PREUPGRADING
UpgradeStatus.STATUS_PREUPGRADED
UpgradeStatus.STATUS_UPGRADING
UpgradeStatus.STATUS_UPGRADED
UpgradeStatus.STATUS_POSTUPGRADING
UpgradeStatus.STATUS_COMPLETED
UpgradeStatus.STATUS_ROLLINGBACK
UpgradeStatus.STATUS_ROLLEDBACK
IfsException
- if the operation failsDate getStatusLastModified() throws IfsException
IfsException
- if the operation failsString getPreUpgradeProgress() throws IfsException
The returned value is action-specific, for example
"2983 of 2983 rows pre-upgraded
" if the
pre-upgrade phase were complete.
IfsException
- if the operation failsString getUpgradeProgress() throws IfsException
The returned value is action-specific, for example
"321 of 2983 rows upgraded
" if the
upgrade phase were underway.
IfsException
- if the operation failsString getPostUpgradeProgress() throws IfsException
The returned value is action-specific, for example
"0 of 2983 rows post-upgraded
" if the
post-upgrade phase were not yet started.
IfsException
- if the operation failsInteger getProgressPercentage() throws IfsException
IfsException
- if the operation failsDate getProgressLastModified() throws IfsException
IfsException
- if the operation failsIterator getUpgradeActionErrors() throws IfsException
UpgradeActionError
IfsException
- if the operation failslong getUpgradeActionErrorCount() throws IfsException
IfsException
- if the operation failsCopyright © 2023. All rights reserved.