public static enum Constants.PlatformResourceType extends Enum<Constants.PlatformResourceType>
| Enum Constant and Description |
|---|
FILE_STORE |
MEMORY |
OPERATING_SYSTEM |
POWER_SOURCE |
PROCESSOR |
| Modifier and Type | Method and Description |
|---|---|
List<Name> |
getMetricNames() |
Name |
getName() |
static Constants.PlatformResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.PlatformResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.PlatformResourceType OPERATING_SYSTEM
public static final Constants.PlatformResourceType FILE_STORE
public static final Constants.PlatformResourceType MEMORY
public static final Constants.PlatformResourceType PROCESSOR
public static final Constants.PlatformResourceType POWER_SOURCE
public static Constants.PlatformResourceType[] values()
for (Constants.PlatformResourceType c : Constants.PlatformResourceType.values()) System.out.println(c);
public static Constants.PlatformResourceType 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 Name getName()
Copyright © 2015 Red Hat, Inc.. All rights reserved.