Enum KeyContexts.ExpirationTransactionState
- java.lang.Object
-
- java.lang.Enum<KeyContexts.ExpirationTransactionState>
-
- com.h2tcoin.takamakachain.globalContext.KeyContexts.ExpirationTransactionState
-
- All Implemented Interfaces:
Serializable
,Comparable<KeyContexts.ExpirationTransactionState>
- Enclosing class:
- KeyContexts
public static enum KeyContexts.ExpirationTransactionState extends Enum<KeyContexts.ExpirationTransactionState>
Used in EXPIRATION TABLE CANDIDATE in transaction queue, not part of the current blockchain ADDED existing in a block CORRUPTED transaction syntax error or signature error
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyContexts.ExpirationTransactionState
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyContexts.ExpirationTransactionState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANDIDATE
public static final KeyContexts.ExpirationTransactionState CANDIDATE
-
ADDED
public static final KeyContexts.ExpirationTransactionState ADDED
-
CORRUPTED
public static final KeyContexts.ExpirationTransactionState CORRUPTED
-
-
Method Detail
-
values
public static KeyContexts.ExpirationTransactionState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyContexts.ExpirationTransactionState c : KeyContexts.ExpirationTransactionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyContexts.ExpirationTransactionState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-