public class DefaultPropertiesContextMatcher extends Object implements IPropertiesContextMatcher
| Constructor and Description |
|---|
DefaultPropertiesContextMatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstraint(String propertyName,
MatchingConstraint<?,?> ctr)
Adds a new constraint dynamically to the existing matcher, if constraint already exists, it overrides it
|
protected void |
initilaize() |
MatchingResult |
match(String propName,
ITableProperties props,
IRulesRuntimeContext context)
Matcher compares a single Table property and returns one of the 3 values NO_MATCH, if a property does not match
with a context variable MATCH_BY_DEFAULT, for example, context has value for LOB, but properties have empty value
MATCH
|
public MatchingResult match(String propName, ITableProperties props, IRulesRuntimeContext context)
IPropertiesContextMatchermatch in interface IPropertiesContextMatcherpublic void addConstraint(String propertyName, MatchingConstraint<?,?> ctr)
IPropertiesContextMatcheraddConstraint in interface IPropertiesContextMatcherprotected void initilaize()
Copyright © 2004–2019 OpenL Tablets. All rights reserved.