final boolean withOffset = !options.has("no-offset"); final boolean withSize = !options.has("no-size"); int count = countOpt.value(options); count = count <= 0 ? Integer.MAX_VALUE : count; int index = 0;
data.setFailWhenNoMutations(this.failWhenNoMutations.value(userArgs)); data.setCodePaths(this.codePaths.values(userArgs)); data.setMutationUnitSize(this.mutationUnitSizeSpec.value(userArgs)); data.setMutationThreshold(this.mutationThreshHoldSpec.value(userArgs)); data.setMaximumAllowedSurvivors(this.maxSurvivingSpec.value(userArgs)); data.setCoverageThreshold(this.coverageThreshHoldSpec.value(userArgs)); data.setMutationEngine(this.mutationEngine.value(userArgs)); data.setFreeFormProperties(listToProperties(this.pluginPropertiesSpec
File baseFolder = baseFolderSpec.value(optionSet); checkArgument(baseFolder == null || baseFolder.exists(), "The specified base folder cannot be located on the file system"); int corePoolSize = corePoolSizeSpec.value(optionSet); checkArgument(corePoolSize >= 0, "The number of core worker threads must not be negative"); int fallbackPoolSize = fallbackPoolSizeSpc.value(optionSet); checkArgument(fallbackPoolSize >= 0, "The number of fallback worker threads must not be negative"); checkArgument(corePoolSize + fallbackPoolSize > 0, "The number of worker threads must be positive"); long keepAliveTime = keepAliveTimeSpec.value(optionSet); checkArgument(keepAliveTime >= 0L, "The worker thread keep alive time must not be negative"); long processTimeout = processTimeoutSpec.value(optionSet); checkArgument(processTimeout >= 0L, "The process timeout timeout must not be negative"); long requestTimeout = requestTimeoutSpec.value(optionSet); checkArgument(requestTimeout >= 0L, "The request timeout timeout must not be negative"); File logFile = logFileSpec.value(optionSet); Level level = logLevelSpec.value(optionSet); configureLogging(logFile, level);
builder.indexerComponentFactory(indexerComponentFactoryOption.value(options));
builder.indexerComponentFactory(indexerComponentFactoryOption.value(options));