public static enum Peer.Service extends java.lang.Enum<Peer.Service>
Enum Constant and Description |
---|
API |
API_SSL |
CORS |
HALLMARK |
PRUNABLE |
Modifier and Type | Method and Description |
---|---|
long |
getCode() |
static Peer.Service |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Peer.Service[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Peer.Service HALLMARK
public static final Peer.Service PRUNABLE
public static final Peer.Service API
public static final Peer.Service API_SSL
public static final Peer.Service CORS
public static Peer.Service[] values()
for (Peer.Service c : Peer.Service.values()) System.out.println(c);
public static Peer.Service valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long getCode()