public enum ThriftAnnotation extends Enum<ThriftAnnotation>
| Enum Constant and Description |
|---|
COMPACT
If a struct can use a compact serialized format.
|
CONTAINER
Whether a set-like container are normal (hash-), ordered (linked-hash-)
or sorted (tree-).
|
DEPRECATED
If the field, message, service or method is not supposed to be used any
more.
|
JAVA_EXCEPTION_CLASS |
JAVA_IMPLEMENTS
Add extra interfaces to
|
NONE |
| Modifier and Type | Method and Description |
|---|---|
static ThriftAnnotation |
forTag(String tag) |
static ThriftAnnotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftAnnotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftAnnotation NONE
public static final ThriftAnnotation CONTAINER
public static final ThriftAnnotation DEPRECATED
public static final ThriftAnnotation COMPACT
public static final ThriftAnnotation JAVA_IMPLEMENTS
public static final ThriftAnnotation JAVA_EXCEPTION_CLASS
public final String tag
public static ThriftAnnotation[] values()
for (ThriftAnnotation c : ThriftAnnotation.values()) System.out.println(c);
public static ThriftAnnotation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ThriftAnnotation forTag(String tag)
Copyright © 2015–2016 morimekta.net. All rights reserved.