void (ExportTestResultsConfiguration config) { config.setExportFormat(getExportFormat()); config.setUserTemplatePath(FileUtil.toSystemIndependentName(myCustomTemplateField.getText())); config.setOutputFolder(FileUtil.toSystemIndependentName(myFolderField.getText())); config.setOpenResults(myOpenExportedFileCb.isSelected()); }