public static enum Server.DiskConfig extends Enum<Server.DiskConfig>
Modifier and Type | Method and Description |
---|---|
static Server.DiskConfig |
forValue(String value) |
static Server.DiskConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Server.DiskConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.DiskConfig MANUAL
public static final Server.DiskConfig AUTO
public static Server.DiskConfig[] values()
for (Server.DiskConfig c : Server.DiskConfig.values()) System.out.println(c);
public static Server.DiskConfig 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 nullpublic static Server.DiskConfig forValue(String value)
Copyright © 2017. All rights reserved.