Class RegexMatch.RegexMatchResult

java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingMap<String,String>
org.graylog.plugins.pipelineprocessor.functions.strings.RegexMatch.RegexMatchResult
All Implemented Interfaces:
Map<String,String>
Enclosing class:
RegexMatch

public static class RegexMatch.RegexMatchResult extends com.google.common.collect.ForwardingMap<String,String>
The bean returned into the rule engine. It implements Map so rules can access it directly.
At the same time there's an additional matches bean property to quickly check whether the regex has matched at all.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.common.collect.ForwardingMap

    com.google.common.collect.ForwardingMap.StandardEntrySet, com.google.common.collect.ForwardingMap.StandardKeySet, com.google.common.collect.ForwardingMap.StandardValues

    Nested classes/interfaces inherited from interface java.util.Map

    Map.Entry<K extends Object,V extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegexMatchResult(boolean matches, MatchResult matchResult, List<String> groupNames)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,String>
     
     
    boolean
     

    Methods inherited from class com.google.common.collect.ForwardingMap

    clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, values

    Methods inherited from class com.google.common.collect.ForwardingObject

    toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RegexMatchResult

      public RegexMatchResult(boolean matches, MatchResult matchResult, List<String> groupNames)
  • Method Details

    • isMatches

      public boolean isMatches()
    • getGroups

      public Map<String,String> getGroups()
    • delegate

      protected Map<String,String> delegate()
      Specified by:
      delegate in class com.google.common.collect.ForwardingMap<String,String>