public enum Bootstrap extends java.lang.Enum<Bootstrap> implements BootstrapConfig
Enum Constant and Description |
---|
ALPHANET |
BETANET |
HIGHGARDEN |
LOCALHOST |
LOCALHOST_SINGLENODE |
SUNSTONE |
WINTERFELL |
Modifier and Type | Method and Description |
---|---|
RadixUniverseConfig |
getConfig() |
java.util.List<RadixNetworkEpic> |
getDiscoveryEpics() |
java.util.Set<RadixNode> |
getInitialNetwork() |
static Bootstrap |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bootstrap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bootstrap LOCALHOST
public static final Bootstrap LOCALHOST_SINGLENODE
public static final Bootstrap ALPHANET
public static final Bootstrap HIGHGARDEN
public static final Bootstrap SUNSTONE
public static final Bootstrap BETANET
public static final Bootstrap WINTERFELL
public static Bootstrap[] values()
for (Bootstrap c : Bootstrap.values()) System.out.println(c);
public static Bootstrap 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 nullpublic RadixUniverseConfig getConfig()
getConfig
in interface BootstrapConfig
public java.util.List<RadixNetworkEpic> getDiscoveryEpics()
getDiscoveryEpics
in interface BootstrapConfig
public java.util.Set<RadixNode> getInitialNetwork()
getInitialNetwork
in interface BootstrapConfig