Package org.openstack4j.model.compute
Enum VNCConsole.Type
- java.lang.Object
-
- java.lang.Enum<VNCConsole.Type>
-
- org.openstack4j.model.compute.VNCConsole.Type
-
- All Implemented Interfaces:
Serializable,Comparable<VNCConsole.Type>
- Enclosing interface:
- VNCConsole
public static enum VNCConsole.Type extends Enum<VNCConsole.Type>
The OpenStack VNC Console Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOVNCSPICEUNRECOGNIZEDXVPVNC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringvalue()static VNCConsole.Typevalue(String vncType)static VNCConsole.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static VNCConsole.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOVNC
public static final VNCConsole.Type NOVNC
-
XVPVNC
public static final VNCConsole.Type XVPVNC
-
SPICE
public static final VNCConsole.Type SPICE
-
UNRECOGNIZED
public static final VNCConsole.Type UNRECOGNIZED
-
-
Method Detail
-
values
public static VNCConsole.Type[] 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 (VNCConsole.Type c : VNCConsole.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VNCConsole.Type 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 nameNullPointerException- if the argument is null
-
value
public static VNCConsole.Type value(String vncType)
-
value
public String value()
-
-