Modifier and Type | Method | Description |
---|---|---|
PropertyDescriptor<?> |
AbstractDelegateRule.getPropertyDescriptor(java.lang.String name) |
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() |
|
java.util.List<PropertyDescriptor<?>> |
AbstractDelegateRule.getPropertyDescriptors() |
|
java.util.Set<PropertyDescriptor<?>> |
AbstractDelegateRule.ignoredProperties() |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractDelegateRule.definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor) |
|
void |
RuleReference.definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor) |
|
<T> T |
AbstractDelegateRule.getProperty(PropertyDescriptor<T> propertyDescriptor) |
|
boolean |
AbstractDelegateRule.hasDescriptor(PropertyDescriptor<?> descriptor) |
|
boolean |
RuleReference.hasDescriptor(PropertyDescriptor<?> descriptor) |
|
boolean |
RuleReference.hasOverriddenProperty(PropertyDescriptor<?> descriptor) |
|
<T> void |
AbstractDelegateRule.setProperty(PropertyDescriptor<T> propertyDescriptor,
T value) |
|
<T> void |
RuleReference.setProperty(PropertyDescriptor<T> propertyDescriptor,
T value) |
|
void |
RuleReference.useDefaultValueFor(PropertyDescriptor<?> desc) |
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Map<PropertyDescriptor<?>,java.lang.Object> |
AbstractXPathRuleQuery.properties |
The properties.
|
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.
|
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.
|
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.This property has no multi-valued
variant, since it would be ambiguous whether the delimiters are part of the regex
or not.
|
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 | 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 | Description |
---|---|---|
PropertyDescriptor<?> |
AbstractPropertySource.getPropertyDescriptor(java.lang.String name) |
|
PropertyDescriptor<?> |
PropertySource.getPropertyDescriptor(java.lang.String name) |
Get the PropertyDescriptor for the given property name.
|
Modifier and Type | Method | 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> |
AbstractPropertySource.getPropertiesByPropertyDescriptor() |
|
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.List<PropertyDescriptor<?>> |
AbstractPropertySource.getPropertyDescriptors() |
|
java.util.List<PropertyDescriptor<?>> |
PropertySource.getPropertyDescriptors() |
Get the PropertyDescriptors for all defined properties.
|
java.util.Set<PropertyDescriptor<?>> |
AbstractPropertySource.ignoredProperties() |
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractPropertySource.definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor) |
|
void |
PropertySource.definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor) |
Define a new property via a PropertyDescriptor.
|
<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 this Rule has the specified PropertyDescriptor.
|
<T> void |
AbstractPropertySource.setProperty(PropertyDescriptor<T> propertyDescriptor,
T value) |
|
<T> void |
PropertySource.setProperty(PropertyDescriptor<T> propertyDescriptor,
T value) |
Set the property value specified (will be type-checked)
|
void |
AbstractPropertySource.useDefaultValueFor(PropertyDescriptor<?> desc) |
|
void |
PropertySource.useDefaultValueFor(PropertyDescriptor<?> desc) |
Clears out any user-specified value for the property allowing it to use the default value in the descriptor.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
void |
RuleBuilder.defineProperty(PropertyDescriptor<?> descriptor) |
Copyright © 2002–2018 PMD. All rights reserved.