public static enum OnmsNode.NodeType extends Enum<OnmsNode.NodeType>
Enum Constant and Description |
---|
ACTIVE
The character returned if the node is active
|
DELETED
The character returned if the node is deleted
|
UNKNOWN
The character returned if the node type is unset/unknown.
|
Modifier and Type | Method and Description |
---|---|
static OnmsNode.NodeType |
create(String s) |
static OnmsNode.NodeType |
getNodeTypeFromChar(char c) |
String |
toString() |
char |
value() |
static OnmsNode.NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnmsNode.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnmsNode.NodeType ACTIVE
public static final OnmsNode.NodeType DELETED
public static final OnmsNode.NodeType UNKNOWN
public static OnmsNode.NodeType[] values()
for (OnmsNode.NodeType c : OnmsNode.NodeType.values()) System.out.println(c);
public static OnmsNode.NodeType 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 char value()
public String toString()
toString
in class Enum<OnmsNode.NodeType>
public static OnmsNode.NodeType getNodeTypeFromChar(char c)
public static OnmsNode.NodeType create(String s)
Copyright © 2018. All rights reserved.