org.rhq.core.domain.resource.composite
Enum PlatformMetricsSummary.CPUMetric
java.lang.Object
java.lang.Enum<PlatformMetricsSummary.CPUMetric>
org.rhq.core.domain.resource.composite.PlatformMetricsSummary.CPUMetric
- All Implemented Interfaces:
- Serializable, Comparable<PlatformMetricsSummary.CPUMetric>
- Enclosing class:
- PlatformMetricsSummary
public static enum PlatformMetricsSummary.CPUMetric
- extends Enum<PlatformMetricsSummary.CPUMetric>
Idle
public static final PlatformMetricsSummary.CPUMetric Idle
System
public static final PlatformMetricsSummary.CPUMetric System
User
public static final PlatformMetricsSummary.CPUMetric User
Wait
public static final PlatformMetricsSummary.CPUMetric Wait
values
public static PlatformMetricsSummary.CPUMetric[] 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 (PlatformMetricsSummary.CPUMetric c : PlatformMetricsSummary.CPUMetric.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PlatformMetricsSummary.CPUMetric 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
getProperty
public String getProperty()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.