Class Events

    • Constructor Detail

      • Events

        public Events()
    • Method Detail

      • getGlobal

        public Global getGlobal()
      • setGlobal

        public void setGlobal​(Global global)
      • setEvents

        public void setEvents​(List<Event> events)
      • addEvent

        public void addEvent​(Event event)
      • removeEvent

        public boolean removeEvent​(Event event)
      • getEventFiles

        public List<String> getEventFiles()
      • setEventFiles

        public void setEventFiles​(List<String> eventFiles)
      • addEventFile

        public void addEventFile​(String eventFile)
      • removeEventFile

        public boolean removeEventFile​(String eventFile)
      • loadEventFilesIfModified

        public void loadEventFilesIfModified​(org.springframework.core.io.Resource configResource,
                                             Map<String,​Long> lastModifiedEventFiles)
                                      throws IOException
        Throws:
        IOException
      • isSecureTag

        public boolean isSecureTag​(String tag)
      • findFirstMatchingEvent

        public Event findFirstMatchingEvent​(Event matchingEvent)
      • getLoadEventsByFile

        public Events getLoadEventsByFile​(String relativePath)
      • addLoadedEventFile

        public void addLoadedEventFile​(String relativePath,
                                       Events events)
      • removeLoadedEventFile

        public void removeLoadedEventFile​(String relativePath)
      • saveEvents

        public void saveEvents​(org.springframework.core.io.Resource resource)
      • save

        public void save​(org.springframework.core.io.Resource resource)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getEventByUeiOptimistic

        public Event getEventByUeiOptimistic​(String uei)
        Quick-look for Events by UEI with the caveat that not all Events can be looked up this way. This function can be used a first pass when attempting to lookup events by UEI. The caller should fall back to other means if no match is found - having no results returned by this function does not necessarily mean that an Event with the given UEI does not exist.
        Parameters:
        uei - UEI to lookup
        Returns:
        matching Event, or {@link null} if none was found in the index