public enum ConsumerEntryState extends Enum<ConsumerEntryState>
| Modifier and Type | Method and Description |
|---|---|
static ConsumerEntryState |
fromState(byte state) |
byte |
getState() |
static ConsumerEntryState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerEntryState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerEntryState CLAIMED
public static final ConsumerEntryState PROCESSED
public static ConsumerEntryState[] values()
for (ConsumerEntryState c : ConsumerEntryState.values()) System.out.println(c);
public static ConsumerEntryState 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 nullpublic byte getState()
public static ConsumerEntryState fromState(byte state)
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.