Class PiMatchKey.Builder

  • Enclosing class:
    PiMatchKey

    public static final class PiMatchKey.Builder
    extends java.lang.Object
    Builder of match keys.
    • Method Detail

      • addFieldMatch

        public PiMatchKey.Builder addFieldMatch​(PiFieldMatch fieldMatch)
        Adds one field match to this match key.
        Parameters:
        fieldMatch - field match
        Returns:
        this
      • addFieldMatches

        public PiMatchKey.Builder addFieldMatches​(java.util.Collection<PiFieldMatch> fieldMatches)
        Adds many field matches to this match key.
        Parameters:
        fieldMatches - collection of field matches
        Returns:
        this
      • build

        public PiMatchKey build()
        Creates a new match key.
        Returns:
        match key