Class EventUtil
- java.lang.Object
-
- com.adobe.aio.aem.event.osgimapping.eventhandler.EventUtil
-
public class EventUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<Date>getEventPropertyAsDate(org.osgi.service.event.Event event, String propertyKey)static List<String>getEventPropertyAsListOfString(org.osgi.service.event.Event event, String propertyKey)static Optional<String>getEventPropertyAsString(org.osgi.service.event.Event event, String propertyKey)static booleanisEventLocal(org.osgi.service.event.Event event)static booleanisEventProperty(org.osgi.service.event.Event event, String key, String expectedValue)
-
-
-
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)
-
-