class DefaultAggregator implements Aggregator {

    @Override
    public CloudEvent aggregate(DMNModel model, String executionId, List<EvaluateEvent> events, ConfigBean configBean) {
        return events == null || events.isEmpty()
                ? buildNotEnoughDataCloudEvent(model, executionId, configBean)
                : buildDefaultCloudEvent(model, executionId, events, configBean);
    }

}