public static enum ServiceEndpoint.Interface extends Enum<ServiceEndpoint.Interface>
Enum Constant and Description |
---|
ADMIN |
INTERNAL |
PUBLIC |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static ServiceEndpoint.Interface |
fromValue(String iface) |
static ServiceEndpoint.Interface |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceEndpoint.Interface[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceEndpoint.Interface PUBLIC
public static final ServiceEndpoint.Interface ADMIN
public static final ServiceEndpoint.Interface INTERNAL
public static final ServiceEndpoint.Interface UNRECOGNIZED
public static ServiceEndpoint.Interface[] values()
for (ServiceEndpoint.Interface c : ServiceEndpoint.Interface.values()) System.out.println(c);
public static ServiceEndpoint.Interface 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 ServiceEndpoint.Interface fromValue(String iface)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.