public static enum Transaction.Type extends java.lang.Enum<Transaction.Type>
| Enum Constant and Description |
|---|
CHAINCODE_DEPLOY |
CHAINCODE_INVOKE |
CHAINCODE_QUERY |
CHAINCODE_TERMINATE |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static Transaction.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.Type UNDEFINED
public static final Transaction.Type CHAINCODE_DEPLOY
public static final Transaction.Type CHAINCODE_INVOKE
public static final Transaction.Type CHAINCODE_QUERY
public static final Transaction.Type CHAINCODE_TERMINATE
public static Transaction.Type[] values()
for (Transaction.Type c : Transaction.Type.values()) System.out.println(c);
public static Transaction.Type 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