public static enum AbstractContractContext.EventSource extends java.lang.Enum<AbstractContractContext.EventSource>
Enum Constant and Description |
---|
BLOCK |
CONTRACT_REFERENCE_LIFECYCLE |
NODE_RUNTIME_LIFECYCLE |
NONE |
REQUEST |
TRANSACTION |
VOUCHER |
Modifier and Type | Method and Description |
---|---|
boolean |
isBlock() |
boolean |
isRequest() |
boolean |
isTransaction() |
boolean |
isVoucher() |
static AbstractContractContext.EventSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractContractContext.EventSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractContractContext.EventSource BLOCK
public static final AbstractContractContext.EventSource TRANSACTION
public static final AbstractContractContext.EventSource REQUEST
public static final AbstractContractContext.EventSource VOUCHER
public static final AbstractContractContext.EventSource NODE_RUNTIME_LIFECYCLE
public static final AbstractContractContext.EventSource CONTRACT_REFERENCE_LIFECYCLE
public static final AbstractContractContext.EventSource NONE
public static AbstractContractContext.EventSource[] values()
for (AbstractContractContext.EventSource c : AbstractContractContext.EventSource.values()) System.out.println(c);
public static AbstractContractContext.EventSource 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 boolean isTransaction()
public boolean isBlock()
public boolean isRequest()
public boolean isVoucher()