Class ReferencedMatches


  • public class ReferencedMatches
    extends Object
    The matches referenced by a particular context name in a rule evaluation
    Author:
    bratseth
    • Constructor Detail

      • ReferencedMatches

        public ReferencedMatches​(String contextName)
    • Method Detail

      • addMatch

        public void addMatch​(Match match)
      • getContextName

        public String getContextName()
      • toItem

        public Item toItem​(String label)
        Returns the item to insert from these referenced matches, or null if none
        Parameters:
        label - the label of the matches