Enum UpdateStatus

  • All Implemented Interfaces:
    Serializable, Comparable<UpdateStatus>

    public enum UpdateStatus
    extends Enum<UpdateStatus>

    Contains the current software update status.

    Used in the SoftwareUpdate response returned by the treminal.

    The following values are valid:

    Specification: retail.

    • Enum Constant Detail

      • UP_TO_DATE

        public static final UpdateStatus UP_TO_DATE

        The actual software is up to date and no software update will be made.

        Specification: retail.

      • RUNNING_NO_REBOOT

        public static final UpdateStatus RUNNING_NO_REBOOT

        The software update is running. No terminal reboot is needed to complete it.

        Specification: retail.

      • RUNNING_REBOOT

        public static final UpdateStatus RUNNING_REBOOT

        The software update is running. At least one (or more) terminal reboot(s) is/are needed to complete it.

        Specification: retail.

    • Method Detail

      • values

        public static UpdateStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UpdateStatus c : UpdateStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UpdateStatus valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null