public static enum MediatorConfiguration.Consumption extends Enum<MediatorConfiguration.Consumption>
Enum Constant and Description |
---|
MESSAGE |
NONE |
PAYLOAD |
STREAM_OF_MESSAGE |
STREAM_OF_PAYLOAD |
Modifier and Type | Method and Description |
---|---|
static MediatorConfiguration.Consumption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediatorConfiguration.Consumption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediatorConfiguration.Consumption STREAM_OF_MESSAGE
public static final MediatorConfiguration.Consumption STREAM_OF_PAYLOAD
public static final MediatorConfiguration.Consumption MESSAGE
public static final MediatorConfiguration.Consumption PAYLOAD
public static final MediatorConfiguration.Consumption NONE
public static MediatorConfiguration.Consumption[] values()
for (MediatorConfiguration.Consumption c : MediatorConfiguration.Consumption.values()) System.out.println(c);
public static MediatorConfiguration.Consumption 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.