class CorrelatedEventsGrouper {

    public GroupedCorrelationEvents groupByComponent(String rootEventId) {
        return new GroupedCorrelationEvents(buildRelatedEventsMap(rootEventId), rootEventId);
    }

    public  CorrelatedEventsGrouper(List<EventInformation> events);

}