public static enum Peer.BlockchainState extends java.lang.Enum<Peer.BlockchainState>
| Enum Constant and Description | 
|---|
| DOWNLOADING | 
| FORK | 
| LIGHT_CLIENT | 
| UP_TO_DATE | 
| Modifier and Type | Method and Description | 
|---|---|
| static Peer.BlockchainState | get(java.lang.Number ordinal) | 
| static Peer.BlockchainState | get(java.lang.String name) | 
| static Peer.BlockchainState | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static Peer.BlockchainState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Peer.BlockchainState UP_TO_DATE
public static final Peer.BlockchainState DOWNLOADING
public static final Peer.BlockchainState LIGHT_CLIENT
public static final Peer.BlockchainState FORK
public static Peer.BlockchainState[] values()
for (Peer.BlockchainState c : Peer.BlockchainState.values()) System.out.println(c);
public static Peer.BlockchainState 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 static Peer.BlockchainState get(java.lang.Number ordinal)
public static Peer.BlockchainState get(java.lang.String name)