public enum OperationType extends java.lang.Enum<OperationType> implements XdrElement
enum OperationType { CREATE_ACCOUNT = 0, PAYMENT = 1, PATH_PAYMENT_STRICT_RECEIVE = 2, MANAGE_SELL_OFFER = 3, CREATE_PASSIVE_SELL_OFFER = 4, SET_OPTIONS = 5, CHANGE_TRUST = 6, ALLOW_TRUST = 7, ACCOUNT_MERGE = 8, INFLATION = 9, MANAGE_DATA = 10, BUMP_SEQUENCE = 11, MANAGE_BUY_OFFER = 12, PATH_PAYMENT_STRICT_SEND = 13, CREATE_CLAIMABLE_BALANCE = 14, CLAIM_CLAIMABLE_BALANCE = 15, BEGIN_SPONSORING_FUTURE_RESERVES = 16, END_SPONSORING_FUTURE_RESERVES = 17, REVOKE_SPONSORSHIP = 18, CLAWBACK = 19, CLAWBACK_CLAIMABLE_BALANCE = 20, SET_TRUST_LINE_FLAGS = 21, LIQUIDITY_POOL_DEPOSIT = 22, LIQUIDITY_POOL_WITHDRAW = 23, INVOKE_HOST_FUNCTION = 24, EXTEND_FOOTPRINT_TTL = 25, RESTORE_FOOTPRINT = 26 };
Modifier and Type | Method and Description |
---|---|
static OperationType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static OperationType |
fromXdrBase64(java.lang.String xdr) |
static OperationType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static OperationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
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 OperationType CREATE_ACCOUNT
public static final OperationType PAYMENT
public static final OperationType PATH_PAYMENT_STRICT_RECEIVE
public static final OperationType MANAGE_SELL_OFFER
public static final OperationType CREATE_PASSIVE_SELL_OFFER
public static final OperationType SET_OPTIONS
public static final OperationType CHANGE_TRUST
public static final OperationType ALLOW_TRUST
public static final OperationType ACCOUNT_MERGE
public static final OperationType INFLATION
public static final OperationType MANAGE_DATA
public static final OperationType BUMP_SEQUENCE
public static final OperationType MANAGE_BUY_OFFER
public static final OperationType PATH_PAYMENT_STRICT_SEND
public static final OperationType CREATE_CLAIMABLE_BALANCE
public static final OperationType CLAIM_CLAIMABLE_BALANCE
public static final OperationType BEGIN_SPONSORING_FUTURE_RESERVES
public static final OperationType END_SPONSORING_FUTURE_RESERVES
public static final OperationType REVOKE_SPONSORSHIP
public static final OperationType CLAWBACK
public static final OperationType CLAWBACK_CLAIMABLE_BALANCE
public static final OperationType SET_TRUST_LINE_FLAGS
public static final OperationType LIQUIDITY_POOL_DEPOSIT
public static final OperationType LIQUIDITY_POOL_WITHDRAW
public static final OperationType INVOKE_HOST_FUNCTION
public static final OperationType EXTEND_FOOTPRINT_TTL
public static final OperationType RESTORE_FOOTPRINT
public static OperationType[] values()
for (OperationType c : OperationType.values()) System.out.println(c);
public static OperationType 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 OperationType 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 OperationType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static OperationType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException