public enum Annotation extends java.lang.Enum<Annotation>
Enum Constant and Description |
---|
BridgeExtraInfo |
BridgeServer |
Cert |
Consensus |
ExitList |
ExtraInfo |
MicroConsensus |
Microdescriptor |
Onionperf |
Server |
Status |
Vote |
Modifier and Type | Method and Description |
---|---|
byte[] |
bytes() |
java.lang.String |
toString() |
static Annotation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Annotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Annotation BridgeExtraInfo
public static final Annotation BridgeServer
public static final Annotation Cert
public static final Annotation Consensus
public static final Annotation ExitList
public static final Annotation ExtraInfo
public static final Annotation MicroConsensus
public static final Annotation Microdescriptor
public static final Annotation Server
public static final Annotation Status
public static final Annotation Onionperf
public static final Annotation Vote
public static Annotation[] values()
for (Annotation c : Annotation.values()) System.out.println(c);
public static Annotation 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 byte[] bytes()
public java.lang.String toString()
toString
in class java.lang.Enum<Annotation>