public enum RestoreFootprintResultCode extends java.lang.Enum<RestoreFootprintResultCode> implements XdrElement
enum RestoreFootprintResultCode
{
// codes considered as "success" for the operation
RESTORE_FOOTPRINT_SUCCESS = 0,
// codes considered as "failure" for the operation
RESTORE_FOOTPRINT_MALFORMED = -1,
RESTORE_FOOTPRINT_RESOURCE_LIMIT_EXCEEDED = -2,
RESTORE_FOOTPRINT_INSUFFICIENT_REFUNDABLE_FEE = -3
};
| Enum Constant and Description |
|---|
RESTORE_FOOTPRINT_INSUFFICIENT_REFUNDABLE_FEE |
RESTORE_FOOTPRINT_MALFORMED |
RESTORE_FOOTPRINT_RESOURCE_LIMIT_EXCEEDED |
RESTORE_FOOTPRINT_SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static RestoreFootprintResultCode |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static RestoreFootprintResultCode |
fromXdrBase64(java.lang.String xdr) |
static RestoreFootprintResultCode |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static RestoreFootprintResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RestoreFootprintResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOftoXdrBase64, toXdrByteArraypublic static final RestoreFootprintResultCode RESTORE_FOOTPRINT_SUCCESS
public static final RestoreFootprintResultCode RESTORE_FOOTPRINT_MALFORMED
public static final RestoreFootprintResultCode RESTORE_FOOTPRINT_RESOURCE_LIMIT_EXCEEDED
public static final RestoreFootprintResultCode RESTORE_FOOTPRINT_INSUFFICIENT_REFUNDABLE_FEE
public static RestoreFootprintResultCode[] values()
for (RestoreFootprintResultCode c : RestoreFootprintResultCode.values()) System.out.println(c);
public static RestoreFootprintResultCode 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 RestoreFootprintResultCode decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static RestoreFootprintResultCode fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static RestoreFootprintResultCode fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException