org.rhq.core.domain.measurement
Enum DisplayType
java.lang.Object
java.lang.Enum<DisplayType>
org.rhq.core.domain.measurement.DisplayType
- All Implemented Interfaces:
- Serializable, Comparable<DisplayType>
public enum DisplayType
- extends Enum<DisplayType>
Data displayed in the summary view will appear in the main measurement display page. Data displayed in the detail
view will only appear in the UI when examining the entire set of metric data. The location in the UI where the
measurement data is shown is typically in a different area from where the trait data is shown.
Note that metric collection is by default enabled for metrics with DisplayType.SUMMARY.
Method Summary |
static DisplayType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DisplayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
SUMMARY
public static final DisplayType SUMMARY
DETAIL
public static final DisplayType DETAIL
values
public static DisplayType[] 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 (DisplayType c : DisplayType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DisplayType 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 © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.