Search in sources :

Example 1 with InteractivePropertySourceBuilder

use of com.synopsys.integration.detect.interactive.InteractivePropertySourceBuilder in project synopsys-detect by blackducksoftware.

the class DetectBootFactory method createInteractiveManager.

public InteractiveManager createInteractiveManager(List<PropertySource> propertySources) {
    InteractiveWriter writer = InteractiveWriter.defaultWriter(System.console(), System.in, System.out);
    InteractivePropertySourceBuilder propertySourceBuilder = new InteractivePropertySourceBuilder(writer);
    InteractiveModeDecisionTree interactiveModeDecisionTree = new InteractiveModeDecisionTree(detectInfo, blackDuckConnectivityChecker, propertySources, gson);
    return new InteractiveManager(propertySourceBuilder, writer, interactiveModeDecisionTree);
}
Also used : InteractivePropertySourceBuilder(com.synopsys.integration.detect.interactive.InteractivePropertySourceBuilder) InteractiveManager(com.synopsys.integration.detect.interactive.InteractiveManager) InteractiveModeDecisionTree(com.synopsys.integration.detect.interactive.InteractiveModeDecisionTree) InteractiveWriter(com.synopsys.integration.detect.interactive.InteractiveWriter)

Aggregations

InteractiveManager (com.synopsys.integration.detect.interactive.InteractiveManager)1 InteractiveModeDecisionTree (com.synopsys.integration.detect.interactive.InteractiveModeDecisionTree)1 InteractivePropertySourceBuilder (com.synopsys.integration.detect.interactive.InteractivePropertySourceBuilder)1 InteractiveWriter (com.synopsys.integration.detect.interactive.InteractiveWriter)1