public static enum AergoSpec.PayloadType extends java.lang.Enum<AergoSpec.PayloadType>
Enum Constant and Description |
---|
ContractDefinition |
ContractInvocation |
CreateName |
Stake |
Unstake |
UpdateName |
Vote |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected java.lang.Class<?>[] |
targets |
Modifier and Type | Method and Description |
---|---|
static AergoSpec.PayloadType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AergoSpec.PayloadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AergoSpec.PayloadType ContractDefinition
public static final AergoSpec.PayloadType ContractInvocation
public static final AergoSpec.PayloadType Vote
public static final AergoSpec.PayloadType Stake
public static final AergoSpec.PayloadType Unstake
public static final AergoSpec.PayloadType CreateName
public static final AergoSpec.PayloadType UpdateName
protected final java.lang.String name
protected final java.lang.Class<?>[] targets
public static AergoSpec.PayloadType[] values()
for (AergoSpec.PayloadType c : AergoSpec.PayloadType.values()) System.out.println(c);
public static AergoSpec.PayloadType 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