code: public String events(EventCondition condition) {
          String description = "event on: " + condition.getDataId();
          if (condition.getExpression() != null) {
              description += " [" + condition.getExpression() + "]";
          }
          return description;
      }
docs: Create a description for an EventCondition object.
  
  @param condition the condition
  @return a description to be used on email templates