public class EqualsFieldPart extends IfFieldPart
{field,equals,new,This is new!,This is old!}
Modifier and Type | Class and Description |
---|---|
static class |
EqualsFieldPart.Factory
Part factory for "equals".
|
elseValue, fieldName, ifValue
Constructor and Description |
---|
EqualsFieldPart(java.lang.String fieldName,
java.lang.String values)
Creates a new "equals" field part.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isTrue(java.util.Map params)
Indicates whether the field's value is true.
|
protected void |
parseValues(java.lang.String values)
Parses the parameter values
|
java.lang.String |
toString() |
isGenerated, write
public EqualsFieldPart(java.lang.String fieldName, java.lang.String values)
fieldName
- the field namevalues
- the unparsed parameter valuesprotected void parseValues(java.lang.String values)
parseValues
in class IfFieldPart
values
- the unparsed parameter valuesprotected boolean isTrue(java.util.Map params)
isTrue
in class IfFieldPart
params
- the message parameterspublic java.lang.String toString()
toString
in class IfFieldPart
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.