Example #1
0
 /**
  * Gets an Integer property associated with the current event. Calling this method is equivilent
  * to calling <code>event.getMessage().getIntProperty(..., ...)</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 int getIntProperty(String name, int defaultValue) {
   return event.getIntProperty(name, defaultValue);
 }