public static enum KafkaCloudEventHelper.CloudEventMode extends Enum<KafkaCloudEventHelper.CloudEventMode>
Enum Constant and Description |
---|
BINARY |
NOT_A_CLOUD_EVENT |
STRUCTURED |
Modifier and Type | Method and Description |
---|---|
static KafkaCloudEventHelper.CloudEventMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaCloudEventHelper.CloudEventMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaCloudEventHelper.CloudEventMode STRUCTURED
public static final KafkaCloudEventHelper.CloudEventMode BINARY
public static final KafkaCloudEventHelper.CloudEventMode NOT_A_CLOUD_EVENT
public static KafkaCloudEventHelper.CloudEventMode[] values()
for (KafkaCloudEventHelper.CloudEventMode c : KafkaCloudEventHelper.CloudEventMode.values()) System.out.println(c);
public static KafkaCloudEventHelper.CloudEventMode 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 nullCopyright © 2018–2021 SmallRye. All rights reserved.