public enum LedgerUpgradeType extends java.lang.Enum<LedgerUpgradeType> implements XdrElement
enum LedgerUpgradeType { LEDGER_UPGRADE_VERSION = 1, LEDGER_UPGRADE_BASE_FEE = 2, LEDGER_UPGRADE_MAX_TX_SET_SIZE = 3, LEDGER_UPGRADE_BASE_RESERVE = 4, LEDGER_UPGRADE_FLAGS = 5, LEDGER_UPGRADE_CONFIG = 6, LEDGER_UPGRADE_MAX_SOROBAN_TX_SET_SIZE = 7 };
Enum Constant and Description |
---|
LEDGER_UPGRADE_BASE_FEE |
LEDGER_UPGRADE_BASE_RESERVE |
LEDGER_UPGRADE_CONFIG |
LEDGER_UPGRADE_FLAGS |
LEDGER_UPGRADE_MAX_SOROBAN_TX_SET_SIZE |
LEDGER_UPGRADE_MAX_TX_SET_SIZE |
LEDGER_UPGRADE_VERSION |
Modifier and Type | Method and Description |
---|---|
static LedgerUpgradeType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static LedgerUpgradeType |
fromXdrBase64(java.lang.String xdr) |
static LedgerUpgradeType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static LedgerUpgradeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LedgerUpgradeType[] |
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 LedgerUpgradeType LEDGER_UPGRADE_VERSION
public static final LedgerUpgradeType LEDGER_UPGRADE_BASE_FEE
public static final LedgerUpgradeType LEDGER_UPGRADE_MAX_TX_SET_SIZE
public static final LedgerUpgradeType LEDGER_UPGRADE_BASE_RESERVE
public static final LedgerUpgradeType LEDGER_UPGRADE_FLAGS
public static final LedgerUpgradeType LEDGER_UPGRADE_CONFIG
public static final LedgerUpgradeType LEDGER_UPGRADE_MAX_SOROBAN_TX_SET_SIZE
public static LedgerUpgradeType[] values()
for (LedgerUpgradeType c : LedgerUpgradeType.values()) System.out.println(c);
public static LedgerUpgradeType 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 LedgerUpgradeType 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 LedgerUpgradeType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static LedgerUpgradeType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException