public enum Hypervisor extends Enum<Hypervisor>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Hypervisor.Adapter |
| 枚举常量和说明 |
|---|
BLUESHARK |
ELF |
HYPERVISOR_UNSUPPORTED_ENUM |
VMWARE |
XENSERVER |
| 限定符和类型 | 方法和说明 |
|---|---|
static Hypervisor |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static Hypervisor |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Hypervisor[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Hypervisor BLUESHARK
public static final Hypervisor ELF
public static final Hypervisor VMWARE
public static final Hypervisor XENSERVER
public static final Hypervisor HYPERVISOR_UNSUPPORTED_ENUM
public static Hypervisor[] values()
for (Hypervisor c : Hypervisor.values()) System.out.println(c);
public static Hypervisor valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String toString()
toString 在类中 Enum<Hypervisor>public static Hypervisor fromValue(String value)
Copyright © 2025. All rights reserved.