Search in sources :

Example 1 with DetectorEventPublisher

use of com.synopsys.integration.detect.tool.detector.DetectorEventPublisher in project synopsys-detect by blackducksoftware.

the class SingletonFactory method createEventSingletons.

public EventSingletons createEventSingletons() {
    StatusEventPublisher statusEventPublisher = new StatusEventPublisher(eventSystem);
    ExitCodePublisher exitCodePublisher = new ExitCodePublisher(eventSystem);
    DetectorEventPublisher detectorEventPublisher = new DetectorEventPublisher(eventSystem);
    CodeLocationEventPublisher codeLocationEventPublisher = new CodeLocationEventPublisher(eventSystem);
    ProjectEventPublisher projectEventPublisher = new ProjectEventPublisher(eventSystem);
    return new EventSingletons(statusEventPublisher, exitCodePublisher, detectorEventPublisher, codeLocationEventPublisher, projectEventPublisher);
}
Also used : DetectorEventPublisher(com.synopsys.integration.detect.tool.detector.DetectorEventPublisher) StatusEventPublisher(com.synopsys.integration.detect.workflow.status.StatusEventPublisher) CodeLocationEventPublisher(com.synopsys.integration.detect.workflow.codelocation.CodeLocationEventPublisher) ProjectEventPublisher(com.synopsys.integration.detect.workflow.project.ProjectEventPublisher) ExitCodePublisher(com.synopsys.integration.detect.lifecycle.shutdown.ExitCodePublisher)

Aggregations

ExitCodePublisher (com.synopsys.integration.detect.lifecycle.shutdown.ExitCodePublisher)1 DetectorEventPublisher (com.synopsys.integration.detect.tool.detector.DetectorEventPublisher)1 CodeLocationEventPublisher (com.synopsys.integration.detect.workflow.codelocation.CodeLocationEventPublisher)1 ProjectEventPublisher (com.synopsys.integration.detect.workflow.project.ProjectEventPublisher)1 StatusEventPublisher (com.synopsys.integration.detect.workflow.status.StatusEventPublisher)1