com.xpn.xwiki.stats.impl
Enum VisitStats.Property

java.lang.Object
  extended by java.lang.Enum<VisitStats.Property>
      extended by 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: 71a720cee5d8cc29ca3d2f9f5df8dc4e0f3b70cf $

Enum Constant Summary
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2004–2014 XWiki. All rights reserved.