Class PropertyKey<T>
java.lang.Object
org.jdrupes.builder.api.PropertyKey<T>
- Type Parameters:
T- the value's type
Instances of this class define keys for a
Project's properties.
See CoreProperties for examples.-
Constructor Summary
ConstructorsConstructorDescriptionPropertyKey(Type type) Initializes a PropertyKey with the given type information.PropertyKey(T defaultValue) Initializes a PropertyKey with the given default value. -
Method Summary
Modifier and TypeMethodDescriptionReturns the property's default value.type()Returns the property's type.
-
Constructor Details
-
PropertyKey
Initializes a PropertyKey with the given default value. The type information is obtained from the value.- Parameters:
defaultValue- the default value
-
PropertyKey
Initializes a PropertyKey with the given type information. The default value is set tonull.- Parameters:
type- the type
-
-
Method Details
-
type
-
defaultValue
-