A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.pmd-code.org/apidocs/pmd-core/6.55.0/net/sourceforge/pmd/properties/RegexProperty.html below:

RegexProperty (PMD Core 6.55.0 API)

Modifier and Type Method Description protected void addAttributesTo​(Map<PropertyDescriptorField,​String> attributes)

Adds this property's attributes to the map.

String asDelimitedString​(T value)

Deprecated.

Formats the object onto a string suitable for storage within the property map.

protected String asString​(T value)

Deprecated.

Returns a string representation of the value, even if it's null.

Map<PropertyDescriptorField,​String> attributeValuesById()

Returns a map representing all the property attributes of the receiver in string form.

int compareTo​(PropertyDescriptor<?> otherProperty)   protected Pattern createFrom​(String toParse)

Deprecated.

Parse a string and returns an instance of a value.

protected String defaultAsString()

Deprecated.

Returns a string representation of the default value.

T defaultValue()

Deprecated.

Default value to use when the user hasn't specified one or when they wish to revert to a known-good state.

String description()

Describes the property and the role it plays within the rule it is specified for.

boolean equals​(Object obj)   String errorFor​(T value)

Deprecated.

Validation function that returns a diagnostic error message for a sample property value.

int hashCode()   boolean isDefinedExternally()

True if this descriptor was defined in the ruleset xml.

boolean isMultiValue()

Deprecated.

Returns whether the property is multi-valued, i.e.

String name()

The name of the property without spaces as it serves as the key into the property map.

static RegexProperty.RegexPBuilder named​(String name) Deprecated.

Use

PropertyFactory.regexProperty(String) int preferredRowCount()

If the datatype is a String then return the preferred number of rows to allocate in the text widget, returns a value of one for all other types.

String propertyErrorFor​(Rule rule)

Deprecated.

A convenience method that returns an error string if the rule holds onto a property value that has a problem.

String toString()   Class<Pattern> type()

Deprecated.

Denotes the value datatype.

float uiOrder()

Denotes the relative order the property field should occupy if we are using an auto-generated UI to display and edit property values.

protected String valueErrorFor​(T value)

Deprecated.

Checks the value for an error.

T valueFrom​(String valueString)

Deprecated.

Returns the value represented by this string.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4