public static enum BlockchainProcessor.Event extends java.lang.Enum<BlockchainProcessor.Event>
Enum Constant and Description |
---|
AFTER_BLOCK_ACCEPT |
AFTER_BLOCK_APPLY |
BEFORE_BLOCK_ACCEPT |
BEFORE_BLOCK_APPLY |
BLOCK_GENERATED |
BLOCK_POPPED |
BLOCK_PUSHED |
BLOCK_SCANNED |
RESCAN_BEGIN |
RESCAN_END |
Modifier and Type | Method and Description |
---|---|
static BlockchainProcessor.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockchainProcessor.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockchainProcessor.Event BLOCK_PUSHED
public static final BlockchainProcessor.Event BLOCK_POPPED
public static final BlockchainProcessor.Event BLOCK_GENERATED
public static final BlockchainProcessor.Event BLOCK_SCANNED
public static final BlockchainProcessor.Event RESCAN_BEGIN
public static final BlockchainProcessor.Event RESCAN_END
public static final BlockchainProcessor.Event BEFORE_BLOCK_ACCEPT
public static final BlockchainProcessor.Event AFTER_BLOCK_ACCEPT
public static final BlockchainProcessor.Event BEFORE_BLOCK_APPLY
public static final BlockchainProcessor.Event AFTER_BLOCK_APPLY
public static BlockchainProcessor.Event[] values()
for (BlockchainProcessor.Event c : BlockchainProcessor.Event.values()) System.out.println(c);
public static BlockchainProcessor.Event 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