Enum KeyContexts.PayState
- java.lang.Object
-
- java.lang.Enum<KeyContexts.PayState>
-
- com.h2tcoin.takamakachain.globalContext.KeyContexts.PayState
-
- All Implemented Interfaces:
Serializable
,Comparable<KeyContexts.PayState>
- Enclosing class:
- KeyContexts
public static enum KeyContexts.PayState extends Enum<KeyContexts.PayState>
pay transaction status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CORRUPTED
INSUFFICIENTS_FOUNDS
INVALID
VALID
VALID_SYNTAX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyContexts.PayState
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyContexts.PayState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID
public static final KeyContexts.PayState INVALID
-
VALID_SYNTAX
public static final KeyContexts.PayState VALID_SYNTAX
-
CORRUPTED
public static final KeyContexts.PayState CORRUPTED
-
VALID
public static final KeyContexts.PayState VALID
-
INSUFFICIENTS_FOUNDS
public static final KeyContexts.PayState INSUFFICIENTS_FOUNDS
-
-
Method Detail
-
values
public static KeyContexts.PayState[] 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.PayState c : KeyContexts.PayState.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.PayState 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
-
-