Package org.stellar.sdk.operations
Enum Class AllowTrustOperation.TrustLineEntryFlag
java.lang.Object
java.lang.Enum<AllowTrustOperation.TrustLineEntryFlag>
org.stellar.sdk.operations.AllowTrustOperation.TrustLineEntryFlag
- All Implemented Interfaces:
Serializable
,Comparable<AllowTrustOperation.TrustLineEntryFlag>
,Constable
- Enclosing class:
AllowTrustOperation
public static enum AllowTrustOperation.TrustLineEntryFlag
extends Enum<AllowTrustOperation.TrustLineEntryFlag>
Indicates which flags to set for a trust line entry. For details about the flags, please refer
to the CAP-0018.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe account can hold a balance, receive payments, send payments, maintain offers or manage offers.The account can hold a balance and maintain offers but cannot receive payments, send payments or manage offers.The account can hold a balance but cannot receive payments, send payments, maintain offers or manage offers. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
UNAUTHORIZED_FLAG
The account can hold a balance but cannot receive payments, send payments, maintain offers or manage offers. -
AUTHORIZED_FLAG
The account can hold a balance, receive payments, send payments, maintain offers or manage offers. -
AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG
The account can hold a balance and maintain offers but cannot receive payments, send payments or manage offers.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-