public static enum ConsumerService.State extends java.lang.Enum<ConsumerService.State>
ConsumerService.| Enum Constant and Description |
|---|
CONTINUE
Indicates that the service should continue processing.
|
FINISHED
Indicates that the service has finished processing.
|
| Modifier and Type | Method and Description |
|---|---|
static ConsumerService.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerService.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerService.State CONTINUE
public static final ConsumerService.State FINISHED
public static ConsumerService.State[] values()
for (ConsumerService.State c : ConsumerService.State.values()) System.out.println(c);
public static ConsumerService.State 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 null