public enum UnitType extends Enum<UnitType>
Java class for UnitType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="UnitType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="BytesBandwidth"/>
<enumeration value="BytesMemory"/>
<enumeration value="BytesDisk"/>
<enumeration value="Temperature"/>
<enumeration value="Percent"/>
<enumeration value="TimeResponse"/>
<enumeration value="TimeSeconds"/>
<enumeration value="Custom"/>
<enumeration value="Count"/>
<enumeration value="CPU (*)"/>
<enumeration value="BytesFile"/>
<enumeration value="SpeedDisk"/>
<enumeration value="SpeedNet"/>
<enumeration value="TimeHours"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BYTES_BANDWIDTH |
BYTES_DISK |
BYTES_FILE |
BYTES_MEMORY |
COUNT |
CPU |
CUSTOM |
PERCENT |
SPEED_DISK |
SPEED_NET |
TEMPERATURE |
TIME_HOURS |
TIME_RESPONSE |
TIME_SECONDS |
| Modifier and Type | Method and Description |
|---|---|
static UnitType |
fromValue(String v) |
String |
value() |
static UnitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitType BYTES_BANDWIDTH
public static final UnitType BYTES_MEMORY
public static final UnitType BYTES_DISK
public static final UnitType TEMPERATURE
public static final UnitType PERCENT
public static final UnitType TIME_RESPONSE
public static final UnitType TIME_SECONDS
public static final UnitType CUSTOM
public static final UnitType COUNT
public static final UnitType CPU
public static final UnitType BYTES_FILE
public static final UnitType SPEED_DISK
public static final UnitType SPEED_NET
public static final UnitType TIME_HOURS
public static UnitType[] values()
for (UnitType c : UnitType.values()) System.out.println(c);
public static UnitType 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 String value()
Copyright © 2014. All rights reserved.