Package net.sourceforge.pmd.properties
Class PropertyBuilder.GenericPropertyBuilder<T>
- java.lang.Object
-
- net.sourceforge.pmd.properties.PropertyBuilder<B,T>
-
- net.sourceforge.pmd.properties.PropertyBuilder.GenericPropertyBuilder<T>
-
- Type Parameters:
T
- Type of values the property handles
- Enclosing class:
- PropertyBuilder<B extends PropertyBuilder<B,T>,T>
public static final class PropertyBuilder.GenericPropertyBuilder<T> extends PropertyBuilder<B,T>
Generic builder for a single-value property.- Since:
- 6.10.0
- Author:
- Clément Fournier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sourceforge.pmd.properties.PropertyBuilder
PropertyBuilder.GenericCollectionPropertyBuilder<V,C extends Collection<V>>, PropertyBuilder.GenericPropertyBuilder<T>, PropertyBuilder.RegexPropertyBuilder
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.properties.PropertyBuilder
isDefinedExternally
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyDescriptor<T>
build()
Builds the descriptor and returns it.protected ValueParser<T>
getParser()
protected Class<T>
getType()
-
Methods inherited from class net.sourceforge.pmd.properties.PropertyBuilder
defaultValue, desc, getName, require
-
-
-
-
Method Detail
-
getParser
protected ValueParser<T> getParser()
-
getType
protected Class<T> getType()
-
build
public PropertyDescriptor<T> build()
Description copied from class:PropertyBuilder
Builds the descriptor and returns it.- Specified by:
build
in classPropertyBuilder<B extends PropertyBuilder<B,T>,T>
- Returns:
- The built descriptor
-
-