public static enum NodeInfo.NodeNetwork extends java.lang.Enum<NodeInfo.NodeNetwork>
| Enum Constant and Description |
|---|
MAIN_NET
Production network.
|
TEST_NET
Test network.
|
UNKNOWN
Network couldn't be determined from LND node or configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeInfo.NodeNetwork |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeInfo.NodeNetwork[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeInfo.NodeNetwork MAIN_NET
public static final NodeInfo.NodeNetwork TEST_NET
public static final NodeInfo.NodeNetwork UNKNOWN
public static NodeInfo.NodeNetwork[] values()
for (NodeInfo.NodeNetwork c : NodeInfo.NodeNetwork.values()) System.out.println(c);
public static NodeInfo.NodeNetwork valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null