enum UpgradePackageState

Lists possible states of the Upgrade Package.

References from:
UpgradePackage;

1
INITIALIZED
The Upgrade Package is initialized.
The administrative data and activation steps of the UP can be read.In this state, only the prepare() action can be called.
2
PREPARE_IN_PROGRESS
Prepare action in progress.
In this state, only the cancel() action can be called. If the prepare() action completes successfully, the UP moves to state PREPARE_COMPLETED . If the prepare() action fails, or cancel() is called, the UP moves back to state INITIALIZED .
3
PREPARE_COMPLETED
Prepare action has finished successfully.
In this state, only the verify() or the activate() action can be called. If the activate() action is called, the UP moves to state ACTIVATION_IN_PROGRESS .
4
ACTIVATION_IN_PROGRESS
Activation is in progress.
In this state, only the cancel() action can be called. If the cancel() action is called, the UP moves to state DEACTIVATION_IN_PROGRESS. If the activation step completes successfully, the UP moves to state ACTIVATION_STEP_COMPLETED .
5
ACTIVATION_STEP_COMPLETED
The previous activation step completed successfully.
There are still more activation steps left. In this state, only the activate() or the cancel() action can be called. If the cancel() action is called, the UP moves to state DEACTIVATION_IN_PROGRESS . If the activate() action is called, the ME starts the activation of the next activation step and the UP moves to state ACTIVATION_IN_PROGRESS . If the fallback timer expires in this state, the UP moves to state DEACTIVATION_IN_PROGRESS .
6
WAITING_FOR_COMMIT
The last activation step completed successfully.
The operator must confirm the upgrade. In this state, only the confirm() or the cancel() action can be called. If the cancel() action is called, the UP moves to state DEACTIVATION_IN_PROGRESS. If the confirm() action is called, the UP moves to state COMMIT_COMPLETED .
7
COMMIT_COMPLETED
The upgrade is confirmed.The whole upgrade procedure has completed.
8
DEACTIVATION_IN_PROGRESS
Deactivation of the UP is in progress.
This can be the result of a cancel() action, or the fallback timer has expired. In this state, no action can be called. At the end of fallback operation, the UP moves back to state PREPARE_COMPLETED.
  enum UpgradePackageState