com.vmware.vcloud.sdk.constants
Enum VappStatus
java.lang.Object
java.lang.Enum<VappStatus>
com.vmware.vcloud.sdk.constants.VappStatus
- All Implemented Interfaces:
- Serializable, Comparable<VappStatus>
public enum VappStatus
- extends Enum<VappStatus>
This enum represents the differnet vApp/VM status.
- Since:
- API 1.5, SDK 1.5
- Author:
- Ecosystem Engineering
FAILED_CREATION
public static final VappStatus FAILED_CREATION
UNRESOLVED
public static final VappStatus UNRESOLVED
RESOLVED
public static final VappStatus RESOLVED
SUSPENDED
public static final VappStatus SUSPENDED
POWERED_ON
public static final VappStatus POWERED_ON
WAITING_FOR_INPUT
public static final VappStatus WAITING_FOR_INPUT
UNKNOWN
public static final VappStatus UNKNOWN
UNRECOGNIZED
public static final VappStatus UNRECOGNIZED
POWERED_OFF
public static final VappStatus POWERED_OFF
INCONSISTENT_STATE
public static final VappStatus INCONSISTENT_STATE
MIXED
public static final VappStatus MIXED
values
public static VappStatus[] 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 (VappStatus c : VappStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static VappStatus 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
value
public int value()
fromValue
public static VappStatus fromValue(int value)
Copyright © 2016. All Rights Reserved.