Package org.ec4j.core
Class PropertyTypeRegistry.Builder
java.lang.Object
org.ec4j.core.PropertyTypeRegistry.Builder
- Enclosing class:
PropertyTypeRegistry
A
PropertyTypeRegistry builder.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()defaults()Adds thePropertyTypes fromPropertyType.standardTypes()type(PropertyType<?> type) Adds a singlePropertyType
-
Field Details
-
types
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Returns:
- a new
PropertyTypeRegistry
-
defaults
Adds thePropertyTypes fromPropertyType.standardTypes()- Returns:
- this
PropertyTypeRegistry.Builder
-
type
Adds a singlePropertyType- Parameters:
type- thePropertyTypeto add- Returns:
- this
PropertyTypeRegistry.Builder
-