Class SinglePackagedPropertyBuilder<V,T extends SinglePackagedPropertyBuilder<V,T>>
- java.lang.Object
-
- net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder<E,T>
-
- net.sourceforge.pmd.properties.builders.SingleValuePropertyBuilder<V,T>
-
- net.sourceforge.pmd.properties.builders.SinglePackagedPropertyBuilder<V,T>
-
- Direct Known Subclasses:
FileProperty.FilePBuilder
@Deprecated public abstract class SinglePackagedPropertyBuilder<V,T extends SinglePackagedPropertyBuilder<V,T>> extends SingleValuePropertyBuilder<V,T>
Deprecated.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]
legalPackageNames
Deprecated.-
Fields inherited from class net.sourceforge.pmd.properties.builders.SingleValuePropertyBuilder
defaultValue
-
Fields inherited from class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
description, isDefinedInXML, name, uiOrder
-
-
Constructor Summary
Constructors Constructor Description SinglePackagedPropertyBuilder(String name)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description T
legalPackageNames(String... packs)
Deprecated.Specify the allowed package prefixes.T
legalPackageNames(Collection<String> packs)
Deprecated.Specify the allowed package prefixes.-
Methods inherited from class net.sourceforge.pmd.properties.builders.SingleValuePropertyBuilder
defaultValue
-
Methods inherited from class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
build, desc, getName, uiOrder
-
-
-
-
Field Detail
-
legalPackageNames
protected String[] legalPackageNames
Deprecated.
-
-
Constructor Detail
-
SinglePackagedPropertyBuilder
public SinglePackagedPropertyBuilder(String name)
Deprecated.
-
-
Method Detail
-
legalPackageNames
public T legalPackageNames(String... packs)
Deprecated.Specify the allowed package prefixes.- Parameters:
packs
- The package prefixes- Returns:
- The same builder
-
legalPackageNames
public T legalPackageNames(Collection<String> packs)
Deprecated.Specify the allowed package prefixes.- Parameters:
packs
- The package prefixes- Returns:
- The same builder
-
-