Interface Rule.Builder

    • Method Detail

      • matchingKeys

        Rule.Builder matchingKeys​(Collection<String> matchingKeys)

        A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match.

        Parameters:
        matchingKeys - A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingKeys

        Rule.Builder matchingKeys​(String... matchingKeys)

        A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match.

        Parameters:
        matchingKeys - A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ruleName

        Rule.Builder ruleName​(String ruleName)

        A name for the matching rule.

        Parameters:
        ruleName - A name for the matching rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.