com.sun.n1.sps.model.host
Class UpgradeTaskState

java.lang.Object
  extended by com.sun.n1.util.enum.EnumImpl
      extended by com.sun.n1.util.enumx.EnumXImpl
          extended by com.sun.n1.sps.model.host.UpgradeTaskState
All Implemented Interfaces:
Enum, EnumX

public class UpgradeTaskState
extends EnumXImpl

Instances of this class indicate the current status of the upgrade task. The state transition happens as follows...

 FIND_UPGRADE_NODES
        |
        | (find all nodes needing upgrades)
        |
 FIND_UPGRADE_PACKAGES
        |
        | (find upgrade packages for all nodes needing upgrades)
        |
 UPGRADING_NODES
        |
        | (upgrade nodes needing upgrades)
        |
 RESTARTING_NODES
        |
        | (restart upgraded nodes)
        |
 COMPLETED

 


Nested Class Summary
static class UpgradeTaskState.FACTORY
          Factory for upgrade task states.
 
Field Summary
static UpgradeTaskState COMPLETED
          Indicates that the upgrade task is complete.
static UpgradeTaskState.FACTORY Factory
          The factory which may be used to lookup UpgradeTaskState by string or int value.
static UpgradeTaskState FIND_UPGRADE_NODES
          Indicates that the upgrade task is searching for nodes to upgrade.
static UpgradeTaskState FIND_UPGRADE_PACKAGES
          Indicates the the upgrade task is searching for upgrade packages for nodes that were found to be needing upgrades.
static UpgradeTaskState RESTARTING_NODES
          Indicates that the upgrade task is currently restarting all the nodes that were successfully upgraded.
static UpgradeTaskState UPGRADING_NODES
          Indicates that the upgrade task is currently upgrading the nodes that were found needing upgrades and the master server had the upgrade packages available to upgrade them.
 
Method Summary
 
Methods inherited from class com.sun.n1.util.enum.EnumImpl
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.n1.util.enum.Enum
toInt
 

Field Detail

Factory

public static final UpgradeTaskState.FACTORY Factory
The factory which may be used to lookup UpgradeTaskState by string or int value.


FIND_UPGRADE_NODES

public static final UpgradeTaskState FIND_UPGRADE_NODES
Indicates that the upgrade task is searching for nodes to upgrade.


FIND_UPGRADE_PACKAGES

public static final UpgradeTaskState FIND_UPGRADE_PACKAGES
Indicates the the upgrade task is searching for upgrade packages for nodes that were found to be needing upgrades.


UPGRADING_NODES

public static final UpgradeTaskState UPGRADING_NODES
Indicates that the upgrade task is currently upgrading the nodes that were found needing upgrades and the master server had the upgrade packages available to upgrade them.


RESTARTING_NODES

public static final UpgradeTaskState RESTARTING_NODES
Indicates that the upgrade task is currently restarting all the nodes that were successfully upgraded.


COMPLETED

public static final UpgradeTaskState COMPLETED
Indicates that the upgrade task is complete.