Class EventUtil


  • public class EventUtil
    extends Object
    • Method Detail

      • getEventPropertyAsDate

        public static Optional<Date> getEventPropertyAsDate​(org.osgi.service.event.Event event,
                                                            String propertyKey)
      • getEventPropertyAsString

        public static Optional<String> getEventPropertyAsString​(org.osgi.service.event.Event event,
                                                                String propertyKey)
      • getEventPropertyAsListOfString

        public static List<String> getEventPropertyAsListOfString​(org.osgi.service.event.Event event,
                                                                  String propertyKey)
      • isEventProperty

        public static boolean isEventProperty​(org.osgi.service.event.Event event,
                                              String key,
                                              String expectedValue)
      • isEventLocal

        public static boolean isEventLocal​(org.osgi.service.event.Event event)