public static enum SystemMonitor.SystemStatus extends Enum<SystemMonitor.SystemStatus>
Enum Constant and Description |
---|
ACTIVE |
IDLE |
OVERLOADED |
STRESSED |
Modifier and Type | Method and Description |
---|---|
static SystemMonitor.SystemStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemMonitor.SystemStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemMonitor.SystemStatus IDLE
public static final SystemMonitor.SystemStatus ACTIVE
public static final SystemMonitor.SystemStatus STRESSED
public static final SystemMonitor.SystemStatus OVERLOADED
public static SystemMonitor.SystemStatus[] values()
for (SystemMonitor.SystemStatus c : SystemMonitor.SystemStatus.values()) System.out.println(c);
public static SystemMonitor.SystemStatus 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 nullCopyright © 2023. All Rights Reserved.