public class MatcherRule extends Object implements Serializable
Java class for MatcherRule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MatcherRule">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="transform" type="{http://www.jooq.org/xsd/jooq-codegen-3.11.0.xsd}MatcherTransformType" minOccurs="0"/>
<element name="expression" type="{http://www.w3.org/2001/XMLSchema}string"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
expression |
protected MatcherTransformType |
transform |
| Constructor and Description |
|---|
MatcherRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
String |
getExpression()
A replacement expression that transforms the matched expression in a new value.
|
MatcherTransformType |
getTransform()
A pre-defined transformation type that transforms this rule's output into a specific format.
|
int |
hashCode() |
void |
setExpression(String value)
Sets the value of the expression property.
|
void |
setTransform(MatcherTransformType value)
Sets the value of the transform property.
|
String |
toString() |
MatcherRule |
withExpression(String value) |
MatcherRule |
withTransform(MatcherTransformType value) |
protected MatcherTransformType transform
protected String expression
public MatcherTransformType getTransform()
MatcherTransformTypepublic void setTransform(MatcherTransformType value)
value - allowed object is
MatcherTransformTypepublic String getExpression()
Stringpublic void setExpression(String value)
value - allowed object is
Stringpublic MatcherRule withTransform(MatcherTransformType value)
public MatcherRule withExpression(String value)
Copyright © 2019. All rights reserved.