Class LogviewerLogSearchHandler.Matched

  • All Implemented Interfaces:
    net.minidev.json.JSONAware
    Enclosing class:
    LogviewerLogSearchHandler

    public static class LogviewerLogSearchHandler.Matched
    extends Object
    implements net.minidev.json.JSONAware
    • Constructor Detail

      • Matched

        public Matched​(int fileOffset,
                       String searchString,
                       List<Map<String,​Object>> matches,
                       int openedFiles)
        Constructor.
        Parameters:
        fileOffset - offset (index) of the files
        searchString - search string
        matches - map representing matched search result
        openedFiles - number of files scanned, used for metrics only
    • Method Detail

      • getFileOffset

        public int getFileOffset()
      • getSearchString

        public String getSearchString()
      • toJSONString

        public String toJSONString()
        Specified by:
        toJSONString in interface net.minidev.json.JSONAware