private GitCodeChurnProcessor(ICommandLineParser commandLineParser, IProcessWrapper processWrapper, IGitLogParser gitLogParser, IOutputProcessor outputProcessor, IBugDatabaseProcessor bugDatabaseProcessor, ILogger logger, string outputFile, OutputType outputType, string bugRegexes, string bugDatabaseDLL, string bugDatabaseOutputFile, IEnumerable <string> bugDatabaseDllArgs, string gitLogCommand) { this.commandLineParser = commandLineParser; this.processWrapper = processWrapper; this.gitLogParser = gitLogParser; this.outputProcessor = outputProcessor; this.bugDatabaseProcessor = bugDatabaseProcessor; this.logger = logger; this.outputType = outputType; this.outputFile = outputFile; this.bugDatabaseDLL = bugDatabaseDLL; this.bugDatabaseOutputFile = bugDatabaseOutputFile; this.bugDatabaseDllArgs = bugDatabaseDllArgs; this.gitLogCommand = gitLogCommand; this.bugRegexes = bugRegexes; this.changesetProcessor = new ChangesetProcessor(bugRegexes, this.logger); }
private PerforceCodeChurnProcessor(IProcessWrapper processWrapper, IChangesParser changesParser, IDescribeParser describeParser, ICommandLineParser commandLineParser, IBugDatabaseProcessor bugDatabaseProcessor, ILogger logger, IStopWatch stopWatch, IOutputProcessor outputProcessor, string outputFile, OutputType outputType, string bugDatabaseDLL, string bugDatabaseOutputFile, IEnumerable <string> bugDatabaseDllArgs, string p4ChangesCommandLine, string p4DescribeCommandLine, string bugRegexes) { this.processWrapper = processWrapper; this.changesParser = changesParser; this.describeParser = describeParser; this.commandLineParser = commandLineParser; this.bugDatabaseProcessor = bugDatabaseProcessor; this.logger = logger; this.stopWatch = stopWatch; this.outputProcessor = outputProcessor; this.outputFile = outputFile; this.outputType = outputType; this.bugDatabaseDLL = bugDatabaseDLL; this.bugDatabaseOutputFile = bugDatabaseOutputFile; this.bugDatabaseDllArgs = bugDatabaseDllArgs; this.p4ChangesCommandLine = p4ChangesCommandLine; this.p4DescribeCommandLine = p4DescribeCommandLine; this.changesetProcessor = new ChangesetProcessor(bugRegexes, this.logger); }
public PerforceCodeChurnProcessor(IProcessWrapper processWrapper, IChangesParser changesParser, IDescribeParser describeParser, ICommandLineParser commandLineParser, IBugDatabaseProcessor bugDatabaseProcessor, ILogger logger, IStopWatch stopWatch, IOutputProcessor outputProcessor, P4ExtractCommandLineArgs args) : this(processWrapper, changesParser, describeParser, commandLineParser, bugDatabaseProcessor, logger, stopWatch, outputProcessor, args.OutputFile, args.OutputType, args.BugDatabaseDLL, args.BugDatabaseOutputFile, args.BugDatabaseDllArgs, args.P4ChangesCommandLine, args.P4DescribeCommandLine, args.BugRegexes) { if (string.IsNullOrWhiteSpace(bugDatabaseDLL) == false && string.IsNullOrWhiteSpace(bugDatabaseOutputFile)) { throw new Exception("Dll specified without known output file"); } this.bugDatabaseOutputFile = args.BugDatabaseOutputFile; this.bugDatabaseOutputType = args.BugDatabaseOutputType; }
public PerforceCodeChurnProcessor(IProcessWrapper processWrapper, IChangesParser changesParser, IDescribeParser describeParser, ICommandLineParser commandLineParser, IBugDatabaseProcessor bugDatabaseProcessor, ILogger logger, IStopWatch stopWatch, IOutputProcessor outputProcessor, P4ExtractToCosmosDbCommandLineArgs args) : this(processWrapper, changesParser, describeParser, commandLineParser, bugDatabaseProcessor, logger, stopWatch, outputProcessor, string.Empty, OutputType.CosmosDb, args.BugDatabaseDLL, string.Empty, args.BugDatabaseDllArgs, args.P4ChangesCommandLine, args.P4DescribeCommandLine, args.BugRegexes) { }
public GitCodeChurnProcessor(ICommandLineParser commandLineParser, IProcessWrapper processWrapper, IGitLogParser gitLogParser, IOutputProcessor outputProcessor, IBugDatabaseProcessor bugDatabaseProcessor, ILogger logger, GitExtractCommandLineArgs commandLineArgs) : this(commandLineParser, processWrapper, gitLogParser, outputProcessor, bugDatabaseProcessor, logger, commandLineArgs.OutputFile, commandLineArgs.OutputType, commandLineArgs.BugRegexes, commandLineArgs.BugDatabaseDLL, commandLineArgs.BugDatabaseOutputFile, commandLineArgs.BugDatabaseDllArgs, commandLineArgs.GitLogCommand) { if (string.IsNullOrWhiteSpace(bugDatabaseDLL) == false && string.IsNullOrWhiteSpace(bugDatabaseOutputFile)) { throw new Exception("Dll specified without known output file"); } this.bugDatabaseOutputFile = commandLineArgs.BugDatabaseOutputFile; this.bugDatabaseOutputType = commandLineArgs.BugDatabaseOutputType; }
public GitCodeChurnProcessor(ICommandLineParser commandLineParser, IProcessWrapper processWrapper, IGitLogParser gitLogParser, IOutputProcessor outputProcessor, IBugDatabaseProcessor bugDatabaseProcessor, ILogger logger, GitExtractToCosmosDbCommandLineArgs commandLineArgs) : this(commandLineParser, processWrapper, gitLogParser, outputProcessor, bugDatabaseProcessor, logger, string.Empty, OutputType.CosmosDb, commandLineArgs.BugRegexes, commandLineArgs.BugDatabaseDLL, string.Empty, commandLineArgs.BugDatabaseDllArgs, commandLineArgs.GitLogCommand) { }