public enum VHostMode extends Enum<VHostMode>
Enum Constant and Description |
---|
IP_BASED
IP-based host-configuration
|
NAME_BASED
name-based host-configuration
|
Modifier and Type | Method and Description |
---|---|
static VHostMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VHostMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VHostMode IP_BASED
public static final VHostMode NAME_BASED
public static VHostMode[] values()
for (VHostMode c : VHostMode.values()) System.out.println(c);
public static VHostMode 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 © 2011–2017 aiticon GmbH. All rights reserved.