public enum RequestsServiceContractType extends java.lang.Enum<RequestsServiceContractType>
Enum Constant and Description |
---|
CONVERSATION_MARK_READ_REQUEST |
CONVERSATION_MESSAGE_REQUEST |
HANDSHAKE |
HEALTH_CHECK_REQUEST |
JOIN_REQUEST |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Request> |
getClazz() |
static RequestsServiceContractType |
getEnumForClazz(java.lang.Class<? extends Request> clazz) |
static RequestsServiceContractType |
getEnumForValue(int val) |
int |
getValue() |
static RequestsServiceContractType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestsServiceContractType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestsServiceContractType CONVERSATION_MARK_READ_REQUEST
public static final RequestsServiceContractType CONVERSATION_MESSAGE_REQUEST
public static final RequestsServiceContractType HEALTH_CHECK_REQUEST
public static final RequestsServiceContractType JOIN_REQUEST
public static final RequestsServiceContractType HANDSHAKE
public static RequestsServiceContractType[] values()
for (RequestsServiceContractType c : RequestsServiceContractType.values()) System.out.println(c);
public static RequestsServiceContractType 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 int getValue()
public java.lang.Class<? extends Request> getClazz()
public static RequestsServiceContractType getEnumForValue(int val)
public static RequestsServiceContractType getEnumForClazz(@Nonnull java.lang.Class<? extends Request> clazz)