public enum CapacityUnit extends java.lang.Enum<CapacityUnit>
Enum Constant and Description |
---|
EVENT
Measures the maximum capacity in number of events
|
EVENTS |
GB
Measures the maximum capacity in Gigabytes
|
GIGABYTE |
GIGABYTES |
KB
Measures the maximum capacity in kilobytes
|
KILOBYTE |
KILOBYTES |
MB
Measures the maximum capacity in Megabytes
|
MEGABYTE |
MEGABYTES |
Modifier and Type | Method and Description |
---|---|
static CapacityUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapacityUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapacityUnit EVENT
public static final CapacityUnit EVENTS
public static final CapacityUnit KB
public static final CapacityUnit KILOBYTE
public static final CapacityUnit KILOBYTES
public static final CapacityUnit MB
public static final CapacityUnit MEGABYTE
public static final CapacityUnit MEGABYTES
public static final CapacityUnit GB
public static final CapacityUnit GIGABYTE
public static final CapacityUnit GIGABYTES
public static CapacityUnit[] values()
for (CapacityUnit c : CapacityUnit.values()) System.out.println(c);
public static CapacityUnit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null