public static enum PropertyKey.PropertyType extends Enum<PropertyKey.PropertyType>
Enum Constant and Description |
---|
BOOLEAN
The Property's value is of boolean type, stored as a Boolean.
|
CLASS
The Property's value is of class type, stored as a Class.
|
DATASIZE
The Property's value represents a data size, stored as a Long in bytes.
|
DOUBLE
The Property's value is of double type, stored as a Double.
|
DURATION
The Property's value represents a time duration, stored as a Long in ms.
|
ENUM
The Property's value is an enum for a predefined enum class.
|
INTEGER
The Property's value is of integer type, stored as an Integer.
|
LIST
The Property's value is of list type, stored as a delimiter separated string.
|
LONG
The Property's value is of long integer type, stored as a long.
|
STRING
The Property's value is of string type, stored as a String.
|
Modifier and Type | Method and Description |
---|---|
static PropertyKey.PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyKey.PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyKey.PropertyType BOOLEAN
public static final PropertyKey.PropertyType INTEGER
public static final PropertyKey.PropertyType LONG
public static final PropertyKey.PropertyType DOUBLE
public static final PropertyKey.PropertyType STRING
public static final PropertyKey.PropertyType DURATION
public static final PropertyKey.PropertyType DATASIZE
public static final PropertyKey.PropertyType LIST
public static final PropertyKey.PropertyType ENUM
public static final PropertyKey.PropertyType CLASS
public static PropertyKey.PropertyType[] values()
for (PropertyKey.PropertyType c : PropertyKey.PropertyType.values()) System.out.println(c);
public static PropertyKey.PropertyType 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.