public static enum KafkaIndexTask.Status extends Enum<KafkaIndexTask.Status>
Enum Constant and Description |
---|
NOT_STARTED |
PAUSED |
PUBLISHING |
READING |
STARTING |
Modifier and Type | Method and Description |
---|---|
static KafkaIndexTask.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaIndexTask.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaIndexTask.Status NOT_STARTED
public static final KafkaIndexTask.Status STARTING
public static final KafkaIndexTask.Status READING
public static final KafkaIndexTask.Status PAUSED
public static final KafkaIndexTask.Status PUBLISHING
public static KafkaIndexTask.Status[] values()
for (KafkaIndexTask.Status c : KafkaIndexTask.Status.values()) System.out.println(c);
public static KafkaIndexTask.Status 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 © 2011–2017. All rights reserved.