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