private static String composeMessageText(Collection<? extends BuildTarget<?>> targets, Event event) {
    String targetsString = StringUtil.join(targets, dom -> dom.getPresentableName(), ", ");
    return (event == Event.STARTED ? "Started" : "Finished") + " building " + targetsString;
  }
private static String composeMessageText(Collection<? extends BuildTarget<?>> targets, Event event)