Class ScanEventPublisher

    • Constructor Detail

      • ScanEventPublisher

        public ScanEventPublisher()
    • Method Detail

      • getEvents

        protected static java.lang.String[] getEvents()
        Returns a new array with all events.
        Returns:
        an array containing all events.
      • getPublisherName

        public java.lang.String getPublisherName()
        Description copied from interface: EventPublisher
        The name by which the publisher is know - typically the full class name of the publisher. Only one publisher can register with a given name.
        Specified by:
        getPublisherName in interface EventPublisher
        Returns:
        the name of the publisher, never null.
      • publishScanEvent

        public void publishScanEvent​(EventPublisher publisher,
                                     java.lang.String event,
                                     int scanId)
      • publishScanEvent

        public void publishScanEvent​(EventPublisher publisher,
                                     java.lang.String event,
                                     int scanId,
                                     Target target,
                                     User user)
      • publishScanEvent

        public void publishScanEvent​(EventPublisher publisher,
                                     java.lang.String event,
                                     int scanId,
                                     java.lang.String url,
                                     User user)
      • publishScanEvent

        public void publishScanEvent​(EventPublisher publisher,
                                     java.lang.String event,
                                     int scanId,
                                     Target target,
                                     User user,
                                     java.util.Map<java.lang.String,​java.lang.String> params)
      • publishScanProgressEvent

        public void publishScanProgressEvent​(EventPublisher publisher,
                                             int scanId,
                                             int scanProgress)