public enum HardwareMetric extends Enum<HardwareMetric>
| Modifier and Type | Method and Description |
|---|---|
MonitoringCommand |
getDefaultMonitoringCommand() |
static HardwareMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HardwareMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HardwareMetric CPU
public static final HardwareMetric DISK
public static final HardwareMetric MEMORY
public static final HardwareMetric NETWORK
public static HardwareMetric[] values()
for (HardwareMetric c : HardwareMetric.values()) System.out.println(c);
public static HardwareMetric 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 MonitoringCommand getDefaultMonitoringCommand()
Copyright © 2021. All rights reserved.