public enum TransactionEventStage extends java.lang.Enum<TransactionEventStage> implements XdrElement
enum TransactionEventStage { // The event has happened before any one of the transactions has its // operations applied. TRANSACTION_EVENT_STAGE_BEFORE_ALL_TXS = 0, // The event has happened immediately after operations of the transaction // have been applied. TRANSACTION_EVENT_STAGE_AFTER_TX = 1, // The event has happened after every transaction had its operations // applied. TRANSACTION_EVENT_STAGE_AFTER_ALL_TXS = 2 };
Enum Constant and Description |
---|
TRANSACTION_EVENT_STAGE_AFTER_ALL_TXS |
TRANSACTION_EVENT_STAGE_AFTER_TX |
TRANSACTION_EVENT_STAGE_BEFORE_ALL_TXS |
Modifier and Type | Method and Description |
---|---|
static TransactionEventStage |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static TransactionEventStage |
fromXdrBase64(java.lang.String xdr) |
static TransactionEventStage |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static TransactionEventStage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionEventStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toXdrBase64, toXdrByteArray
public static final TransactionEventStage TRANSACTION_EVENT_STAGE_BEFORE_ALL_TXS
public static final TransactionEventStage TRANSACTION_EVENT_STAGE_AFTER_TX
public static final TransactionEventStage TRANSACTION_EVENT_STAGE_AFTER_ALL_TXS
public static TransactionEventStage[] values()
for (TransactionEventStage c : TransactionEventStage.values()) System.out.println(c);
public static TransactionEventStage 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 nullpublic int getValue()
public static TransactionEventStage decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TransactionEventStage fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TransactionEventStage fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException