Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ public class ExportCommand implements Runnable {
)
protected Path outputPath;

@CommandLine.Option(
names = {"-t", "--threads"},
description = "Thread count for export processor",
defaultValue = "1"
)
protected String threadCount;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be an Integer, instead of a String


@Override
public void run() {
try {
Expand All @@ -75,7 +82,7 @@ public void run() {
private void runUnsafe(final Path input, final Path output) throws Exception {
System.out.printf("Export xcresults from [%s] to [%s]\n", input, output);
final ExportProcessor processor = new ExportProcessor(
input, output, brokenConfigPath, addCarouselAttachment, carouselTemplatePath
input, output, brokenConfigPath, addCarouselAttachment, carouselTemplatePath, threadCount
);
processor.export();
}
Expand Down
Loading