public enum ServiceHostType extends Enum<ServiceHostType>
| Enum Constant and Description |
|---|
CANONICAL_HOST_NAME |
HOST_NAME |
IP |
| Modifier and Type | Method and Description |
|---|---|
static ServiceHostType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceHostType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceHostType IP
public static final ServiceHostType HOST_NAME
public static final ServiceHostType CANONICAL_HOST_NAME
public static ServiceHostType[] values()
for (ServiceHostType c : ServiceHostType.values()) System.out.println(c);
public static ServiceHostType 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 © 2022 codecentric AG. All rights reserved.