Package net.sourceforge.pmd.properties
Interface EnumeratedPropertyDescriptor<E,T>
-
- Type Parameters:
E
- The type of the valuesT
- The type of default values the descriptor can take (can be a List)
- All Superinterfaces:
java.lang.Comparable<PropertyDescriptor<?>>
,PropertyDescriptor<T>
- All Known Implementing Classes:
EnumeratedMultiProperty
,EnumeratedProperty
@Deprecated public interface EnumeratedPropertyDescriptor<E,T> extends PropertyDescriptor<T>
Deprecated.Will be removed with 7.0.0. In the future this interface won't exist, but enumerated properties will still be aroundInterface defining an enumerated property descriptor.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Map<java.lang.String,E>
mappings()
Deprecated.Returns an immutable map of the label - value mappings defined by this descriptor.-
Methods inherited from interface net.sourceforge.pmd.properties.PropertyDescriptor
asDelimitedString, attributeValuesById, compareTo, defaultValue, description, errorFor, isDefinedExternally, isMultiValue, name, preferredRowCount, propertyErrorFor, type, uiOrder, valueFrom
-
-
-
-
Method Detail
-
mappings
java.util.Map<java.lang.String,E> mappings()
Deprecated.Returns an immutable map of the label - value mappings defined by this descriptor.- Returns:
- an immutable map of the label - value mappings defined by this descriptor.
-
-