|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MetricType> com.endeca.itl.cas.api.MetricType
public enum MetricType
Enumeration used to indicate the type of metric that is returned. This is used to annotate MetricId's, so that the appropriate type of metric object can be created for it.
Enum Constant Summary | |
---|---|
COUNT
The metric represents a long that is used as a counter. |
|
CRAWLMODE
The metric represents the crawl's mode |
|
CRAWLSTATE
The metric represents the crawl's state |
|
CRAWLSTOPCAUSE
The metric represents a cause for stopping the crawl |
|
DATETIME
The metric represents a date |
|
LONG
The metric represents a long |
|
STRING
The metric represents a string |
Method Summary | |
---|---|
String |
getDescription()
|
static MetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MetricType[] |
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 |
---|
public static final MetricType LONG
public static final MetricType COUNT
public static final MetricType STRING
public static final MetricType DATETIME
public static final MetricType CRAWLMODE
public static final MetricType CRAWLSTATE
public static final MetricType CRAWLSTOPCAUSE
Method Detail |
---|
public static MetricType[] values()
for (MetricType c : MetricType.values()) System.out.println(c);
public static MetricType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |