// Utility class, no public or protected default constructor
}
public static void render(StringBuilder buffer, ProcessorDefinition processor) {
AggregateDefinition aggregate = (AggregateDefinition)processor;
buffer.append(".").append(aggregate.getShortName()).append("()");
ExpressionRenderer.render(buffer, aggregate.getExpression());
if (aggregate.getCompletionTimeout() != null) {
buffer.append(".completionTimeout(").append(aggregate.getCompletionTimeout());
buffer.append(aggregate.getCompletionTimeout() < 1000L ? "L)" : ")");
}
if (aggregate.getCompletionSize() != null) {
buffer.append(".completionSize(").append(aggregate.getCompletionSize()).append(")");
}
if (aggregate.isGroupExchanges() != null && aggregate.isGroupExchanges()) {
buffer.append(".groupExchanges()");
}
}