Class PackagedPropertyModule<T>
- java.lang.Object
-
- net.sourceforge.pmd.properties.modules.PackagedPropertyModule<T>
-
- Direct Known Subclasses:
MethodPropertyModule,TypePropertyModule
@Deprecated public abstract class PackagedPropertyModule<T> extends Object
Deprecated.Factorises common functionality for packaged properties.- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description PackagedPropertyModule(String[] legalPackageNames, List<T> defaults)Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddAttributesTo(Map<PropertyDescriptorField,String> attributes)Deprecated.protected abstract StringitemTypeName()Deprecated.Returns the name of the type of item.String[]legalPackageNames()Deprecated.protected abstract StringpackageNameOf(T item)Deprecated.Returns the package name of the item.String[]packageNamesIn(Map<PropertyDescriptorField,String> params)Deprecated.StringvalueErrorFor(T value)Deprecated.
-
-
-
Method Detail
-
packageNameOf
protected abstract String packageNameOf(T item)
Deprecated.Returns the package name of the item.- Parameters:
item- Item (not null)- Returns:
- Package name of the item
-
itemTypeName
protected abstract String itemTypeName()
Deprecated.Returns the name of the type of item.- Returns:
- The name of the type of item
-
legalPackageNames
public String[] legalPackageNames()
Deprecated.
-
addAttributesTo
public void addAttributesTo(Map<PropertyDescriptorField,String> attributes)
Deprecated.
-
packageNamesIn
public String[] packageNamesIn(Map<PropertyDescriptorField,String> params)
Deprecated.
-
-