Package | Description |
---|---|
net.sourceforge.pmd.lang.rule | |
net.sourceforge.pmd.lang.rule.xpath | |
net.sourceforge.pmd.properties | |
net.sourceforge.pmd.properties.builders |
Modifier and Type | Method and Description |
---|---|
PropertyDescriptor<?> |
AbstractDelegateRule.getPropertyDescriptor(java.lang.String name) |
Modifier and Type | Method and 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() |
java.util.List<PropertyDescriptor<?>> |
AbstractDelegateRule.getPropertyDescriptors() |
java.util.Set<PropertyDescriptor<?>> |
AbstractDelegateRule.ignoredProperties() |
Modifier and Type | Method and Description |
---|---|
void |
RuleReference.definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor) |
void |
AbstractDelegateRule.definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor) |
<T> T |
AbstractDelegateRule.getProperty(PropertyDescriptor<T> propertyDescriptor) |
boolean |
RuleReference.hasDescriptor(PropertyDescriptor<?> descriptor) |
boolean |
AbstractDelegateRule.hasDescriptor(PropertyDescriptor<?> descriptor) |
boolean |
RuleReference.hasOverriddenProperty(PropertyDescriptor<?> descriptor) |
<T> void |
RuleReference.setProperty(PropertyDescriptor<T> propertyDescriptor,
T value) |
<T> void |
AbstractDelegateRule.setProperty(PropertyDescriptor<T> propertyDescriptor,
T value) |
void |
RuleReference.useDefaultValueFor(PropertyDescriptor<?> desc) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<PropertyDescriptor<?>,java.lang.Object> |
AbstractXPathRuleQuery.properties
The properties.
|
Modifier and Type | Method and Description |
---|---|
void |
XPathRuleQuery.setProperties(java.util.Map<PropertyDescriptor<?>,java.lang.Object> properties)
Set the properties to use during the XPath query.
|
void |
AbstractXPathRuleQuery.setProperties(java.util.Map<PropertyDescriptor<?>,java.lang.Object> properties)
Set the properties to use during the XPath query.
|
Modifier and Type | Interface and 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.
|
Modifier and Type | Class and 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 |
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 types
|
class |
TypeProperty
Defines a property that supports single class types, even for primitive values!
TODO - untested for array types
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<PropertyDescriptor<?>> |
AbstractPropertySource.propertyDescriptors
The list of known properties that can be configured.
|
protected java.util.Map<PropertyDescriptor<?>,java.lang.Object> |
AbstractPropertySource.propertyValuesByDescriptor
The values for each property.
|
Modifier and Type | Method and Description |
---|---|
PropertyDescriptor<?> |
PropertySource.getPropertyDescriptor(java.lang.String name)
Get the PropertyDescriptor for the given property name.
|
PropertyDescriptor<?> |
AbstractPropertySource.getPropertyDescriptor(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<PropertyDescriptor<?>> |
AbstractPropertySource.copyPropertyDescriptors()
Creates a copied list of the property descriptors and returns it.
|
protected java.util.Map<PropertyDescriptor<?>,java.lang.Object> |
AbstractPropertySource.copyPropertyValues()
Creates a copied map of the values of the properties and returns it.
|
java.util.Map<PropertyDescriptor<?>,java.lang.Object> |
PropertySource.getPropertiesByPropertyDescriptor()
Returns all the current property values for the receiver or an immutable empty map if none are specified.
|
java.util.Map<PropertyDescriptor<?>,java.lang.Object> |
AbstractPropertySource.getPropertiesByPropertyDescriptor() |
java.util.List<PropertyDescriptor<?>> |
PropertySource.getPropertyDescriptors()
Get the PropertyDescriptors for all defined properties.
|
java.util.List<PropertyDescriptor<?>> |
AbstractPropertySource.getPropertyDescriptors() |
java.util.Set<PropertyDescriptor<?>> |
PropertySource.ignoredProperties()
Return the properties that are effectively ignored due to the configuration of the rule and values held by other
properties.
|
java.util.Set<PropertyDescriptor<?>> |
AbstractPropertySource.ignoredProperties() |
Modifier and Type | Method and Description |
---|---|
void |
PropertySource.definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor)
Define a new property via a PropertyDescriptor.
|
void |
AbstractPropertySource.definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor) |
<T> T |
PropertySource.getProperty(PropertyDescriptor<T> propertyDescriptor)
Get the typed value for the given property.
|
<T> T |
AbstractPropertySource.getProperty(PropertyDescriptor<T> propertyDescriptor) |
boolean |
PropertySource.hasDescriptor(PropertyDescriptor<?> descriptor)
Returns whether this Rule has the specified PropertyDescriptor.
|
boolean |
AbstractPropertySource.hasDescriptor(PropertyDescriptor<?> descriptor) |
<T> void |
PropertySource.setProperty(PropertyDescriptor<T> propertyDescriptor,
T value)
Set the property value specified (will be type-checked)
|
<T> void |
AbstractPropertySource.setProperty(PropertyDescriptor<T> propertyDescriptor,
T value) |
void |
PropertySource.useDefaultValueFor(PropertyDescriptor<?> desc)
Clears out any user-specified value for the property allowing it to use the default value in the descriptor.
|
void |
AbstractPropertySource.useDefaultValueFor(PropertyDescriptor<?> desc) |
Modifier and Type | Method and Description |
---|---|
abstract PropertyDescriptor<E> |
PropertyDescriptorBuilder.build()
Builds the descriptor and returns it.
|
PropertyDescriptor<E> |
PropertyDescriptorExternalBuilder.build(java.util.Map<PropertyDescriptorField,java.lang.String> fields)
Builds a descriptor.
|
PropertyDescriptor<E> |
PropertyDescriptorBuilderConversionWrapper.build(java.util.Map<PropertyDescriptorField,java.lang.String> fields) |
Copyright © 2002–2018 PMD. All rights reserved.