Class InstanceMatchCondition
java.lang.Object
com.aquima.interactions.mapping.impl.InstanceMatchCondition
- All Implemented Interfaces:
IInstanceMatchCondition
,Serializable
Internal instance match condition implementation that uses two expressions and a comparator to determine if two
instances match.
- Since:
- 7.1
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
InstanceMatchCondition
(String sourceExpression, MatchConditionOperator matchOperator, String targetExpression, IExpressionParser sourceParser, IExpressionParser targetParser) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the operator that should be used to compare the two values with.This method returns the expression that should be evaluated on the source profile.This method returns the expression that should be evaluated on the target profile.toString()
-
Constructor Details
-
InstanceMatchCondition
protected InstanceMatchCondition(String sourceExpression, MatchConditionOperator matchOperator, String targetExpression, IExpressionParser sourceParser, IExpressionParser targetParser)
-
-
Method Details
-
getOperator
Description copied from interface:IInstanceMatchCondition
This method returns the operator that should be used to compare the two values with.- Specified by:
getOperator
in interfaceIInstanceMatchCondition
- Returns:
- the operator that should be used to compare the two values with.
-
getSourceExpression
Description copied from interface:IInstanceMatchCondition
This method returns the expression that should be evaluated on the source profile. The result of the expression will be compared against the result of the target expression.- Specified by:
getSourceExpression
in interfaceIInstanceMatchCondition
- Returns:
- the expression that should be evaluated on the source profile.
-
getTargetExpression
Description copied from interface:IInstanceMatchCondition
This method returns the expression that should be evaluated on the target profile. The result of the expression will be compared against the result of the source expression.- Specified by:
getTargetExpression
in interfaceIInstanceMatchCondition
- Returns:
- the expression that should be evaluated on the target profile.
-
toString
-