public static enum Pageview.Field extends Enum<Pageview.Field>
Enum Constant and Description |
---|
HTTP_METHOD |
HTTP_STATUS_CODE |
IP |
REFERRER |
RESPONSE_SIZE |
TIMESTAMP |
URL |
USER_AGENT |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets field's index.
|
String |
getName()
Gets field's name.
|
String |
toString()
Gets field's attributes to string.
|
static Pageview.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pageview.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pageview.Field URL
public static final Pageview.Field TIMESTAMP
public static final Pageview.Field IP
public static final Pageview.Field HTTP_METHOD
public static final Pageview.Field HTTP_STATUS_CODE
public static final Pageview.Field RESPONSE_SIZE
public static final Pageview.Field REFERRER
public static final Pageview.Field USER_AGENT
public static Pageview.Field[] values()
for (Pageview.Field c : Pageview.Field.values()) System.out.println(c);
public static Pageview.Field 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 int getIndex()
public String getName()
public String toString()
toString
in class Enum<Pageview.Field>
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.