public String events ( EventCondition condition ) { String description = "event on: " + condition . getDataId ( ) ; if ( condition . getExpression ( ) != null ) { description += " [" + condition . getExpression ( ) + "]" ; } return description ; }
Create a description for an EventCondition object .