public enum TransactionType extends Enum<TransactionType>
| Enum Constant and Description |
|---|
Bookkeeper |
Bookkeeping |
Claim |
DeployCode |
Enrollment |
InvokeCode |
InvokeWasm |
TransferTransaction |
Vote |
| Modifier and Type | Method and Description |
|---|---|
byte |
value() |
static TransactionType |
valueOf(byte v) |
static TransactionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionType Bookkeeping
public static final TransactionType Bookkeeper
public static final TransactionType Claim
public static final TransactionType Enrollment
public static final TransactionType Vote
public static final TransactionType DeployCode
public static final TransactionType InvokeCode
public static final TransactionType InvokeWasm
public static final TransactionType TransferTransaction
public static TransactionType[] values()
for (TransactionType c : TransactionType.values()) System.out.println(c);
public static TransactionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte value()
public static TransactionType valueOf(byte v)
Copyright © 2020. All rights reserved.