public static enum ResultURLs.EventOrigin extends java.lang.Enum<ResultURLs.EventOrigin>
Enum Constant and Description |
---|
DHT_TRANSFER |
GLOBAL_CRAWLING |
LOCAL_CRAWLING |
PROXY_LOAD |
QUERIES |
REMOTE_RECEIPTS |
SURROGATES |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
protected int |
code |
private static ResultURLs.EventOrigin[] |
list |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static ResultURLs.EventOrigin |
getEvent(int key) |
static ResultURLs.EventOrigin |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultURLs.EventOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultURLs.EventOrigin UNKNOWN
public static final ResultURLs.EventOrigin REMOTE_RECEIPTS
public static final ResultURLs.EventOrigin QUERIES
public static final ResultURLs.EventOrigin DHT_TRANSFER
public static final ResultURLs.EventOrigin PROXY_LOAD
public static final ResultURLs.EventOrigin LOCAL_CRAWLING
public static final ResultURLs.EventOrigin GLOBAL_CRAWLING
public static final ResultURLs.EventOrigin SURROGATES
protected int code
private static final ResultURLs.EventOrigin[] list
public static ResultURLs.EventOrigin[] values()
for (ResultURLs.EventOrigin c : ResultURLs.EventOrigin.values()) System.out.println(c);
public static ResultURLs.EventOrigin 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 getCode()
public static final ResultURLs.EventOrigin getEvent(int key)