Uses of Interface
net.sourceforge.pmd.properties.PropertyDescriptor
-
-
Uses of PropertyDescriptor in net.sourceforge.pmd.lang.rule
Methods in net.sourceforge.pmd.lang.rule that return PropertyDescriptor Modifier and Type Method Description PropertyDescriptor<?>
AbstractDelegateRule. getPropertyDescriptor(java.lang.String name)
Deprecated.Methods in net.sourceforge.pmd.lang.rule that return types with arguments of type PropertyDescriptor Modifier and Type Method Description java.util.Map<PropertyDescriptor<?>,java.lang.Object>
RuleReference. getOverriddenPropertiesByPropertyDescriptor()
java.util.List<PropertyDescriptor<?>>
RuleReference. getOverriddenPropertyDescriptors()
java.util.Map<PropertyDescriptor<?>,java.lang.Object>
AbstractDelegateRule. getPropertiesByPropertyDescriptor()
Deprecated.java.util.List<PropertyDescriptor<?>>
AbstractDelegateRule. getPropertyDescriptors()
Deprecated.java.util.Set<PropertyDescriptor<?>>
AbstractDelegateRule. ignoredProperties()
Deprecated.Methods in net.sourceforge.pmd.lang.rule with parameters of type PropertyDescriptor Modifier and Type Method Description void
AbstractDelegateRule. definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor)
Deprecated.void
RuleReference. definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor)
<T> T
AbstractDelegateRule. getProperty(PropertyDescriptor<T> propertyDescriptor)
Deprecated.boolean
AbstractDelegateRule. hasDescriptor(PropertyDescriptor<?> descriptor)
Deprecated.boolean
RuleReference. hasDescriptor(PropertyDescriptor<?> descriptor)
boolean
RuleReference. hasOverriddenProperty(PropertyDescriptor<?> descriptor)
Deprecated.boolean
AbstractDelegateRule. isPropertyOverridden(PropertyDescriptor<?> propertyDescriptor)
Deprecated.boolean
RuleReference. isPropertyOverridden(PropertyDescriptor<?> descriptor)
<T> void
AbstractDelegateRule. setProperty(PropertyDescriptor<T> propertyDescriptor, T value)
Deprecated.<T> void
RuleReference. setProperty(PropertyDescriptor<T> propertyDescriptor, T value)
void
RuleReference. useDefaultValueFor(PropertyDescriptor<?> desc)
Deprecated. -
Uses of PropertyDescriptor in net.sourceforge.pmd.lang.rule.xpath
Fields in net.sourceforge.pmd.lang.rule.xpath with type parameters of type PropertyDescriptor Modifier and Type Field Description protected java.util.Map<PropertyDescriptor<?>,java.lang.Object>
AbstractXPathRuleQuery. properties
The properties.Method parameters in net.sourceforge.pmd.lang.rule.xpath with type arguments of type PropertyDescriptor Modifier and Type Method Description void
AbstractXPathRuleQuery. setProperties(java.util.Map<PropertyDescriptor<?>,java.lang.Object> properties)
void
XPathRuleQuery. setProperties(java.util.Map<PropertyDescriptor<?>,java.lang.Object> properties)
Set the properties to use during the XPath query. -
Uses of PropertyDescriptor in net.sourceforge.pmd.properties
Subinterfaces of PropertyDescriptor in net.sourceforge.pmd.properties Modifier and Type Interface Description interface
EnumeratedPropertyDescriptor<E,T>
Interface defining an enumerated property descriptor.interface
MultiValuePropertyDescriptor<V>
Specializes property descriptors for multi valued descriptors.interface
NumericPropertyDescriptor<T>
Defines a descriptor type whose instance values are required to lie within specified upper and lower limits.interface
PackagedPropertyDescriptor<T>
Defines a property descriptor type whose values can be described by qualified names and thus restricted to only some packages.interface
SingleValuePropertyDescriptor<T>
Specializes property descriptors for single valued descriptors.Classes in net.sourceforge.pmd.properties that implement PropertyDescriptor Modifier and Type Class Description class
BooleanMultiProperty
Defines a property type that supports multiple Boolean values.class
BooleanProperty
Defines a property type that supports single Boolean values.class
CharacterMultiProperty
Multi-valued character property.class
CharacterProperty
Defines a property type that supports single Character values.class
DoubleMultiProperty
Multi-valued double property.class
DoubleProperty
Defines a property type that support single double-type property values within an upper and lower boundary.class
EnumeratedMultiProperty<E>
Multi-valued property which can take only a fixed set of values of any type, then selected via String labels.class
EnumeratedProperty<E>
Property which can take only a fixed set of values of any type, then selected via String labels.class
FileProperty
Property taking a File object as its value.class
FloatMultiProperty
Multi-valued float property.class
FloatProperty
Defines a property type that supports single float property values within an upper and lower boundary.class
IntegerMultiProperty
Multi-valued integer property.class
IntegerProperty
Defines a datatype that supports single Integer property values within an upper and lower boundary.class
LongMultiProperty
Multi-valued long property.class
LongProperty
Single valued long property.class
MethodMultiProperty
Defines a property type that can specify multiple methods to use as part of a rule.class
MethodProperty
Defines a property type that can specify a single method to use as part of a rule.class
RegexProperty
Property which has a regex pattern as a value.class
StringMultiProperty
Defines a datatype that supports multiple String values.class
StringProperty
Defines a datatype that supports single String values.class
TypeMultiProperty
Defines a property that supports multiple class types, even for primitive values! TODO - untested for array typesclass
TypeProperty
Defines a property that supports single class types, even for primitive values! TODO - untested for array typesFields in net.sourceforge.pmd.properties with type parameters of type PropertyDescriptor Modifier and Type Field Description protected java.util.List<PropertyDescriptor<?>>
AbstractPropertySource. propertyDescriptors
Deprecated.Will be made private finalprotected java.util.Map<PropertyDescriptor<?>,java.lang.Object>
AbstractPropertySource. propertyValuesByDescriptor
Deprecated.Will be made private finalMethods in net.sourceforge.pmd.properties that return PropertyDescriptor Modifier and Type Method Description PropertyDescriptor<?>
AbstractPropertySource. getPropertyDescriptor(java.lang.String name)
PropertyDescriptor<?>
PropertySource. getPropertyDescriptor(java.lang.String name)
Get the PropertyDescriptor for the given property name.Methods in net.sourceforge.pmd.properties that return types with arguments of type PropertyDescriptor Modifier and Type Method Description protected java.util.List<PropertyDescriptor<?>>
AbstractPropertySource. copyPropertyDescriptors()
Deprecated.protected java.util.Map<PropertyDescriptor<?>,java.lang.Object>
AbstractPropertySource. copyPropertyValues()
java.util.Map<PropertyDescriptor<?>,java.lang.Object>
AbstractPropertySource. getOverriddenPropertiesByPropertyDescriptor()
java.util.Map<PropertyDescriptor<?>,java.lang.Object>
PropertySource. getOverriddenPropertiesByPropertyDescriptor()
Returns a modifiable map of the property descriptors that don't use default values, to their overridden value.java.util.List<PropertyDescriptor<?>>
AbstractPropertySource. getOverriddenPropertyDescriptors()
java.util.List<PropertyDescriptor<?>>
PropertySource. getOverriddenPropertyDescriptors()
Returns a modifiable list of the property descriptors that don't use default values.java.util.Map<PropertyDescriptor<?>,java.lang.Object>
AbstractPropertySource. getPropertiesByPropertyDescriptor()
java.util.Map<PropertyDescriptor<?>,java.lang.Object>
PropertySource. getPropertiesByPropertyDescriptor()
Returns an unmodifiable map of descriptors to property values for the current receiver.java.util.List<PropertyDescriptor<?>>
AbstractPropertySource. getPropertyDescriptors()
java.util.List<PropertyDescriptor<?>>
PropertySource. getPropertyDescriptors()
Get the descriptors of all defined properties.java.util.Set<PropertyDescriptor<?>>
AbstractPropertySource. ignoredProperties()
Deprecated.java.util.Set<PropertyDescriptor<?>>
PropertySource. ignoredProperties()
Deprecated.Has no real utility, will be removed by 7.0.0Methods in net.sourceforge.pmd.properties with parameters of type PropertyDescriptor Modifier and Type Method Description void
AbstractPropertySource. definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor)
void
PropertySource. definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor)
Defines a new property.<T> T
AbstractPropertySource. getProperty(PropertyDescriptor<T> propertyDescriptor)
<T> T
PropertySource. getProperty(PropertyDescriptor<T> propertyDescriptor)
Get the typed value for the given property.boolean
AbstractPropertySource. hasDescriptor(PropertyDescriptor<?> descriptor)
boolean
PropertySource. hasDescriptor(PropertyDescriptor<?> descriptor)
Returns whether the specified property is defined on this property source, in which case it can be set or retrieved withPropertySource.getProperty(PropertyDescriptor)
andPropertySource.setProperty(PropertyDescriptor, Object)
.boolean
AbstractPropertySource. isPropertyOverridden(PropertyDescriptor<?> propertyDescriptor)
boolean
PropertySource. isPropertyOverridden(PropertyDescriptor<?> propertyDescriptor)
Returns true if the given property has been set to a value somewhere in the XML.<T> void
AbstractPropertySource. setProperty(PropertyDescriptor<T> propertyDescriptor, T value)
<T> void
PropertySource. setProperty(PropertyDescriptor<T> propertyDescriptor, T value)
Set the property value specified.void
AbstractPropertySource. useDefaultValueFor(PropertyDescriptor<?> desc)
Deprecated.void
PropertySource. useDefaultValueFor(PropertyDescriptor<?> desc)
Deprecated.Has no real utility, and the name is confusing, will be removed by 7.0.0 -
Uses of PropertyDescriptor in net.sourceforge.pmd.properties.builders
Methods in net.sourceforge.pmd.properties.builders that return PropertyDescriptor Modifier and Type Method Description abstract PropertyDescriptor<E>
PropertyDescriptorBuilder. build()
Builds the descriptor and returns it.PropertyDescriptor<E>
PropertyDescriptorBuilderConversionWrapper. build(java.util.Map<PropertyDescriptorField,java.lang.String> fields)
PropertyDescriptor<E>
PropertyDescriptorExternalBuilder. build(java.util.Map<PropertyDescriptorField,java.lang.String> fields)
Builds a descriptor. -
Uses of PropertyDescriptor in net.sourceforge.pmd.rules
Methods in net.sourceforge.pmd.rules with parameters of type PropertyDescriptor Modifier and Type Method Description void
RuleBuilder. defineProperty(PropertyDescriptor<?> descriptor)
-