Class NotificationUtility


  • public abstract class NotificationUtility
    extends Object
    • Field Detail

      • PROPERTY_TIME

        public static final String PROPERTY_TIME
        Event property containing the time for job start and job finished events.
        See Also:
        Constant Field Values
    • Constructor Detail

      • NotificationUtility

        public NotificationUtility()
    • Method Detail

      • sendNotification

        public static void sendNotification​(org.osgi.service.event.EventAdmin eventAdmin,
                                            String eventTopic,
                                            org.apache.sling.event.jobs.Job job,
                                            Long time)
        Helper method for sending the notification events.