Package com.xpn.xwiki.stats.impl
Enum VisitStats.Property
- java.lang.Object
-
- java.lang.Enum<VisitStats.Property>
-
- com.xpn.xwiki.stats.impl.VisitStats.Property
-
- All Implemented Interfaces:
Serializable
,Comparable<VisitStats.Property>
- Enclosing class:
- VisitStats
public static enum VisitStats.Property extends Enum<VisitStats.Property>
The properties of visit statistics object.- Version:
- $Id: 1ec051ac2403a730593ff15bb453cdcdde11bd9c $
-
-
Enum Constant Summary
Enum Constants Enum Constant Description cookie
The name of the property containing the cookie id of the user.downloads
The name of the property containing the number of downloaded pages during this visit.endDate
The name of the property containing the ending date of the user visit.ip
The name of the property containing the IP address of the user.pageSaves
The name of the property containing the number of saved pages during this visit.startDate
The name of the property containing the starting date of the user visit.uniqueID
The name of the property containing the unique id of the user visit.userAgent
The name of the property containing the user agent of the user.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VisitStats.Property
valueOf(String name)
Returns the enum constant of this type with the specified name.static VisitStats.Property[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
pageSaves
public static final VisitStats.Property pageSaves
The name of the property containing the number of saved pages during this visit.
-
downloads
public static final VisitStats.Property downloads
The name of the property containing the number of downloaded pages during this visit.
-
startDate
public static final VisitStats.Property startDate
The name of the property containing the starting date of the user visit.
-
endDate
public static final VisitStats.Property endDate
The name of the property containing the ending date of the user visit.
-
uniqueID
public static final VisitStats.Property uniqueID
The name of the property containing the unique id of the user visit.
-
cookie
public static final VisitStats.Property cookie
The name of the property containing the cookie id of the user.
-
ip
public static final VisitStats.Property ip
The name of the property containing the IP address of the user.
-
userAgent
public static final VisitStats.Property userAgent
The name of the property containing the user agent of the user.
-
-
Method Detail
-
values
public static VisitStats.Property[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VisitStats.Property c : VisitStats.Property.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VisitStats.Property valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-