Class MultiValuePropertyBuilder<V,T extends MultiValuePropertyBuilder<V,T>>
- java.lang.Object
-
- net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder<List<V>,T>
-
- net.sourceforge.pmd.properties.builders.MultiValuePropertyBuilder<V,T>
-
- Type Parameters:
V
- Element type of the listT
- Concrete type of the underlying builder
- Direct Known Subclasses:
BooleanMultiProperty.BooleanMultiPBuilder
,CharacterMultiProperty.CharacterMultiPBuilder
,EnumeratedMultiProperty.EnumMultiPBuilder
,MultiNumericPropertyBuilder
,MultiPackagedPropertyBuilder
,StringMultiProperty.StringMultiPBuilder
@Deprecated public abstract class MultiValuePropertyBuilder<V,T extends MultiValuePropertyBuilder<V,T>> extends PropertyDescriptorBuilder<List<V>,T>
Deprecated.For multi-value properties.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<V>
defaultValues
Deprecated.protected char
multiValueDelimiter
Deprecated.-
Fields inherited from class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
description, isDefinedInXML, name, uiOrder
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MultiValuePropertyBuilder(String name)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description T
defaultValues(Collection<? extends V> val)
Deprecated.Specify a default value.T
defaultValues(V... val)
Deprecated.Specify default values.T
delim(char delim)
Deprecated.Specify a delimiter character.-
Methods inherited from class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
build, desc, getName, uiOrder
-
-
-
-
Constructor Detail
-
MultiValuePropertyBuilder
protected MultiValuePropertyBuilder(String name)
Deprecated.
-
-
Method Detail
-
defaultValues
public T defaultValues(Collection<? extends V> val)
Deprecated.Specify a default value.- Parameters:
val
- List of values- Returns:
- The same builder
-
defaultValues
public T defaultValues(V... val)
Deprecated.Specify default values.- Parameters:
val
- List of values- Returns:
- The same builder
-
delim
public T delim(char delim)
Deprecated.Specify a delimiter character. By default it'sMultiValuePropertyDescriptor.DEFAULT_DELIMITER
, orMultiValuePropertyDescriptor.DEFAULT_NUMERIC_DELIMITER
for numeric properties.- Parameters:
delim
- Delimiter- Returns:
- The same builder
-
-