public enum CloudPayloadEncoding extends java.lang.Enum<CloudPayloadEncoding>
Enum Constant and Description |
---|
KURA_PROTOBUF |
SIMPLE_JSON |
Modifier and Type | Method and Description |
---|---|
static CloudPayloadEncoding |
getEncoding(java.lang.String proposedEncoding)
Allows to map a provided string with the corresponding
CloudPayloadEncoding |
static CloudPayloadEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CloudPayloadEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudPayloadEncoding KURA_PROTOBUF
public static final CloudPayloadEncoding SIMPLE_JSON
public static CloudPayloadEncoding[] values()
for (CloudPayloadEncoding c : CloudPayloadEncoding.values()) System.out.println(c);
public static CloudPayloadEncoding 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 static CloudPayloadEncoding getEncoding(java.lang.String proposedEncoding)
CloudPayloadEncoding
proposedEncoding
- the String that has to be mapped to the corresponding CloudPayloadEncoding
CloudPayloadEncoding
if the matching between passed string and enum values succeedsjava.lang.IllegalArgumentException
- if the argument cannot be matched to a corresponding CloudPayloadEncoding
object.