public static enum OnmsNode.NodeLabelSource extends Enum<OnmsNode.NodeLabelSource>
Enum Constant and Description |
---|
ADDRESS
Label source set by IP Address
|
HOSTNAME
Label source set by hostname
|
NETBIOS
Label source set by netbios
|
SYSNAME
Label source set by SNMP sysname
|
UNKNOWN
Label source unset/unknown
|
USER
Label source set by user
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
char |
value() |
static OnmsNode.NodeLabelSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnmsNode.NodeLabelSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnmsNode.NodeLabelSource USER
public static final OnmsNode.NodeLabelSource NETBIOS
public static final OnmsNode.NodeLabelSource HOSTNAME
public static final OnmsNode.NodeLabelSource SYSNAME
public static final OnmsNode.NodeLabelSource ADDRESS
public static final OnmsNode.NodeLabelSource UNKNOWN
public static OnmsNode.NodeLabelSource[] values()
for (OnmsNode.NodeLabelSource c : OnmsNode.NodeLabelSource.values()) System.out.println(c);
public static OnmsNode.NodeLabelSource 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.NodeLabelSource>
Copyright © 2021. All rights reserved.