public static enum Constants.PlatformMetricType extends Enum<Constants.PlatformMetricType>
| Enum Constant and Description |
|---|
FILE_STORE_TOTAL_SPACE |
FILE_STORE_USABLE_SPACE |
MEMORY_AVAILABLE |
MEMORY_TOTAL |
OS_PROCESS_COUNT |
OS_SYS_CPU_LOAD |
OS_SYS_LOAD_AVG |
POWER_SOURCE_REMAINING_CAPACITY |
POWER_SOURCE_TIME_REMAINING |
PROCESSOR_CPU_USAGE |
| Modifier and Type | Method and Description |
|---|---|
ID |
getMetricTypeId() |
Name |
getMetricTypeName() |
static Collection<Constants.PlatformMetricType> |
getPlatformMetricTypes(Constants.PlatformResourceType type) |
Constants.PlatformResourceType |
getResourceType() |
static Constants.PlatformMetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.PlatformMetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.PlatformMetricType OS_SYS_CPU_LOAD
public static final Constants.PlatformMetricType OS_SYS_LOAD_AVG
public static final Constants.PlatformMetricType OS_PROCESS_COUNT
public static final Constants.PlatformMetricType FILE_STORE_USABLE_SPACE
public static final Constants.PlatformMetricType FILE_STORE_TOTAL_SPACE
public static final Constants.PlatformMetricType MEMORY_AVAILABLE
public static final Constants.PlatformMetricType MEMORY_TOTAL
public static final Constants.PlatformMetricType PROCESSOR_CPU_USAGE
public static final Constants.PlatformMetricType POWER_SOURCE_REMAINING_CAPACITY
public static final Constants.PlatformMetricType POWER_SOURCE_TIME_REMAINING
public static Constants.PlatformMetricType[] values()
for (Constants.PlatformMetricType c : Constants.PlatformMetricType.values()) System.out.println(c);
public static Constants.PlatformMetricType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Constants.PlatformResourceType getResourceType()
public ID getMetricTypeId()
public Name getMetricTypeName()
public static Collection<Constants.PlatformMetricType> getPlatformMetricTypes(Constants.PlatformResourceType type)
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.