@Metadata(label="rest") public enum RestHostNameResolver extends Enum<RestHostNameResolver>
Enum Constant and Description |
---|
allLocalIp |
localHostName |
localIp |
Modifier and Type | Method and Description |
---|---|
static RestHostNameResolver |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestHostNameResolver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestHostNameResolver allLocalIp
public static final RestHostNameResolver localIp
public static final RestHostNameResolver localHostName
public static RestHostNameResolver[] values()
for (RestHostNameResolver c : RestHostNameResolver.values()) System.out.println(c);
public static RestHostNameResolver 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 nullApache Camel