Interface IPropertiesContextMatcher

    • Method Detail

      • match

        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
        Parameters:
        propertyName -
        tableProperties -
        context -
        Returns:
      • addConstraint

        void addConstraint​(String propertyName,
                           MatchingConstraint<?,​?> ctr)
        Adds a new constraint dynamically to the existing matcher, if constraint already exists, it overrides it
        Parameters:
        propertyName -
        ctr -