public interface IPropertiesContextMatcher
| 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
|
MatchingResult |
match(String propertyName,
ITableProperties tableProperties,
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
|
MatchingResult match(String propertyName, ITableProperties tableProperties, IRulesRuntimeContext context)
propertyName - tableProperties - context - void addConstraint(String propertyName, MatchingConstraint<?,?> ctr)
propertyName - ctr - Copyright © 2004–2019 OpenL Tablets. All rights reserved.