Search in sources :

Example 1 with OnlinePhoneHomeManager

use of com.synopsys.integration.detect.workflow.phonehome.OnlinePhoneHomeManager in project synopsys-detect by blackducksoftware.

the class ProductBootFactory method createPhoneHomeManager.

public PhoneHomeManager createPhoneHomeManager(BlackDuckServicesFactory blackDuckServicesFactory) {
    ExecutorService executorService = Executors.newSingleThreadExecutor();
    BlackDuckPhoneHomeHelper blackDuckPhoneHomeHelper = BlackDuckPhoneHomeHelper.createAsynchronousPhoneHomeHelper(blackDuckServicesFactory, executorService);
    PhoneHomeManager phoneHomeManager = new OnlinePhoneHomeManager(detectConfigurationFactory.createPhoneHomeOptions().getPassthrough(), detectInfo, eventSystem, blackDuckPhoneHomeHelper);
    return phoneHomeManager;
}
Also used : OnlinePhoneHomeManager(com.synopsys.integration.detect.workflow.phonehome.OnlinePhoneHomeManager) BlackDuckPhoneHomeHelper(com.synopsys.integration.blackduck.phonehome.BlackDuckPhoneHomeHelper) ExecutorService(java.util.concurrent.ExecutorService) PhoneHomeManager(com.synopsys.integration.detect.workflow.phonehome.PhoneHomeManager) OnlinePhoneHomeManager(com.synopsys.integration.detect.workflow.phonehome.OnlinePhoneHomeManager)

Aggregations

BlackDuckPhoneHomeHelper (com.synopsys.integration.blackduck.phonehome.BlackDuckPhoneHomeHelper)1 OnlinePhoneHomeManager (com.synopsys.integration.detect.workflow.phonehome.OnlinePhoneHomeManager)1 PhoneHomeManager (com.synopsys.integration.detect.workflow.phonehome.PhoneHomeManager)1 ExecutorService (java.util.concurrent.ExecutorService)1