com.rapidminer.tools.usagestats
Enum UsageStatistics.StatisticsScope

java.lang.Object
  extended by java.lang.Enum<UsageStatistics.StatisticsScope>
      extended by com.rapidminer.tools.usagestats.UsageStatistics.StatisticsScope
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UsageStatistics.StatisticsScope>
Enclosing class:
UsageStatistics

public static enum UsageStatistics.StatisticsScope
extends java.lang.Enum<UsageStatistics.StatisticsScope>

Selects with which scope the statistics are collected and reported.


Enum Constant Summary
ALL_TIME
          Since RapidMiner was installed.
CURRENT
          Since the last reset.
 
Method Summary
protected  java.lang.String getXMLTag()
          Tag to put around statistic map when exported as XML.
static UsageStatistics.StatisticsScope valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UsageStatistics.StatisticsScope[] 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

CURRENT

public static final UsageStatistics.StatisticsScope CURRENT
Since the last reset.


ALL_TIME

public static final UsageStatistics.StatisticsScope ALL_TIME
Since RapidMiner was installed.

Method Detail

values

public static UsageStatistics.StatisticsScope[] 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 (UsageStatistics.StatisticsScope c : UsageStatistics.StatisticsScope.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UsageStatistics.StatisticsScope valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getXMLTag

protected java.lang.String getXMLTag()
Tag to put around statistic map when exported as XML.



Copyright © 2001-2009 by Rapid-I