/** * Gets a Boolean property associated with the current event. Calling this method is equivilent to * calling <code>event.getMessage().getbooleanProperty(..., ...)</code> * * @param name the property name * @param defaultValue a default value if the property doesn't exist in the event * @return the property value or the defaultValue if the property does not exist */ public boolean getBooleanProperty(String name, boolean defaultValue) { return event.getBooleanProperty(name, defaultValue); }