public enum UpgradeStatus extends Enum<UpgradeStatus>
Enum Constant and Description |
---|
ABORT |
FAILED |
INVALID_IMAGE |
MALFORMED_COMMAND |
NO_IMAGE_AVAILABLE |
NOT_AUTHORIZED |
REQUIRE_MORE_IMAGE |
RETRY_NEEDED |
SUCCESS |
UNSUP_CLUSTER_COMMAND |
WAIT_FOR_DATA |
Modifier and Type | Method and Description |
---|---|
static UpgradeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpgradeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpgradeStatus SUCCESS
public static final UpgradeStatus RETRY_NEEDED
public static final UpgradeStatus FAILED
public static final UpgradeStatus ABORT
public static final UpgradeStatus NOT_AUTHORIZED
public static final UpgradeStatus INVALID_IMAGE
public static final UpgradeStatus WAIT_FOR_DATA
public static final UpgradeStatus NO_IMAGE_AVAILABLE
public static final UpgradeStatus MALFORMED_COMMAND
public static final UpgradeStatus UNSUP_CLUSTER_COMMAND
public static final UpgradeStatus REQUIRE_MORE_IMAGE
public static UpgradeStatus[] values()
for (UpgradeStatus c : UpgradeStatus.values()) System.out.println(c);
public static UpgradeStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.