public static enum ProducerOptions.Kind extends Enum<ProducerOptions.Kind>
Option field.| Enum Constant and Description |
|---|
CALLER |
FIXED |
IRRELEVANT |
| Modifier and Type | Method and Description |
|---|---|
static ProducerOptions.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProducerOptions.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProducerOptions.Kind FIXED
public static final ProducerOptions.Kind CALLER
public static final ProducerOptions.Kind IRRELEVANT
public static ProducerOptions.Kind[] values()
for (ProducerOptions.Kind c : ProducerOptions.Kind.values()) System.out.println(c);
public static ProducerOptions.Kind 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 null