Class ActiveScanEventPublisher

    • Constructor Detail

      • ActiveScanEventPublisher

        public ActiveScanEventPublisher()
    • Method Detail

      • 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
        Overrides:
        getPublisherName in class ScanEventPublisher
        Returns:
        the name of the publisher, never null.
      • publishScanEvent

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

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

        public static void publishScanProgressEvent​(int scanId,
                                                    int scanProgress)