Package net.sourceforge.pmd.properties
Interface SingleValuePropertyDescriptor<T>
-
- Type Parameters:
T
- The type of value this descriptor works with. Cannot be a list.
- All Superinterfaces:
Comparable<PropertyDescriptor<?>>
,PropertyDescriptor<T>
- All Known Implementing Classes:
BooleanProperty
,CharacterProperty
,DoubleProperty
,EnumeratedProperty
,FileProperty
,FloatProperty
,IntegerProperty
,LongProperty
,MethodProperty
,RegexProperty
,StringProperty
,TypeProperty
@Deprecated public interface SingleValuePropertyDescriptor<T> extends PropertyDescriptor<T>
Deprecated.The hard divide between multi- and single-value properties will be removed with 7.0.0Specializes property descriptors for single valued descriptors. For this type of property, the return value of thetype()
method must be the class literal of the type parameter of the interfacePropertyDescriptor
.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Class<T>
type()
Deprecated.-
Methods inherited from interface net.sourceforge.pmd.properties.PropertyDescriptor
asDelimitedString, attributeValuesById, compareTo, defaultValue, description, errorFor, isDefinedExternally, isMultiValue, name, preferredRowCount, propertyErrorFor, uiOrder, valueFrom
-
-
-
-
Method Detail
-
type
@Deprecated Class<T> type()
Deprecated.Description copied from interface:PropertyDescriptor
Denotes the value datatype. For multi value properties, this is not the List class but the list's component class.- Specified by:
type
in interfacePropertyDescriptor<T>
- Returns:
- Class literal of the value type
-
-