@ThriftEnum public static enum InternalNode.NodeStatus extends Enum<InternalNode.NodeStatus>
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode() |
static InternalNode.NodeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalNode.NodeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalNode.NodeStatus ALIVE
public static final InternalNode.NodeStatus DEAD
public static InternalNode.NodeStatus[] values()
for (InternalNode.NodeStatus c : InternalNode.NodeStatus.values()) System.out.println(c);
public static InternalNode.NodeStatus 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@ThriftEnumValue public int getStatusCode()
Copyright © 2012–2022. All rights reserved.