Class MockEventIpcManager.EmptyEventConfDao

    • Constructor Detail

      • EmptyEventConfDao

        public EmptyEventConfDao()
    • Method Detail

      • addEvent

        public void addEvent​(Event event)
        Description copied from interface: EventConfDao
        Adds the event to the root level event config storage (file). Does not save (you must save independently with saveCurrent)
        Specified by:
        addEvent in interface EventConfDao
        Parameters:
        event - The fully configured Event object to add.
      • addEventToProgrammaticStore

        public void addEventToProgrammaticStore​(Event event)
        Description copied from interface: EventConfDao
        Adds the given event to the programmatic event store. This store currently implemented as a file (referenced from eventconf.xml) The programmatic store is a separate storage area, so that incidental programmatic editing of events (e.g. custom UEIs for thresholds, edited through the Web-UI) does not clutter up the otherwise carefully maintained event files. This method does not save (persist) the changes
        Specified by:
        addEventToProgrammaticStore in interface EventConfDao
        Parameters:
        event - The fully configured Event object to add.
      • findByUei

        public Event findByUei​(java.lang.String uei)
        Description copied from interface: EventConfDao

        findByUei

        Specified by:
        findByUei in interface EventConfDao
        Parameters:
        uei - a String object.
        Returns:
        a Event object.
      • getEventLabel

        public java.lang.String getEventLabel​(java.lang.String uei)
        Description copied from interface: EventConfDao

        getEventLabel

        Specified by:
        getEventLabel in interface EventConfDao
        Parameters:
        uei - a String object.
        Returns:
        a String object.
      • getEventLabels

        public java.util.Map<java.lang.String,​java.lang.String> getEventLabels()
        Description copied from interface: EventConfDao

        getEventLabels

        Specified by:
        getEventLabels in interface EventConfDao
        Returns:
        a Map object.
      • getEventUEIs

        public java.util.List<java.lang.String> getEventUEIs()
        Description copied from interface: EventConfDao

        getEventUEIs

        Specified by:
        getEventUEIs in interface EventConfDao
        Returns:
        a List object.
      • getEvents

        public java.util.List<Event> getEvents​(java.lang.String uei)
        Description copied from interface: EventConfDao

        getEvents

        Specified by:
        getEvents in interface EventConfDao
        Parameters:
        uei - a String object.
        Returns:
        a List object.
      • isSecureTag

        public boolean isSecureTag​(java.lang.String tag)
        Description copied from interface: EventConfDao

        isSecureTag

        Specified by:
        isSecureTag in interface EventConfDao
        Parameters:
        tag - a String object.
        Returns:
        a boolean.
      • reload

        public void reload()
                    throws org.springframework.dao.DataAccessException
        Description copied from interface: EventConfDao

        reload

        Specified by:
        reload in interface EventConfDao
        Throws:
        org.springframework.dao.DataAccessException - if any.
      • removeEventFromProgrammaticStore

        public boolean removeEventFromProgrammaticStore​(Event event)
        Description copied from interface: EventConfDao
        Removes the given event from the programmatic event store. This store currently implemented as a file (referenced from eventconf.xml) The programmatic store is a separate storage area, so that incidental programmatic editing of events (e.g. custom UEIs for thresholds, edited through the Web-UI) does not clutter up the otherwise carefully maintained event files. This method does not save (persist) the changes
        Specified by:
        removeEventFromProgrammaticStore in interface EventConfDao
        Parameters:
        event - The fully configured Event object to remove.
        Returns:
        a boolean.