public static enum TopicMirrorDescription.State extends Enum<TopicMirrorDescription.State>
Enum Constant and Description |
---|
ACTIVE |
FAILED |
PAUSED |
PENDING_STOPPED |
STOPPED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static TopicMirrorDescription.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicMirrorDescription.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicMirrorDescription.State UNKNOWN
public static final TopicMirrorDescription.State ACTIVE
public static final TopicMirrorDescription.State PENDING_STOPPED
public static final TopicMirrorDescription.State STOPPED
public static final TopicMirrorDescription.State FAILED
public static final TopicMirrorDescription.State PAUSED
public static TopicMirrorDescription.State[] values()
for (TopicMirrorDescription.State c : TopicMirrorDescription.State.values()) System.out.println(c);
public static TopicMirrorDescription.State 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