@Test public void test5() { List<OutputFile> files = OutputFile.of("test"); assertEquals(1, files.size()); assertNotNull(files.get(0)); }
public static List<OutputFile> of(String... fileNames) { List<OutputFile> outputFiles = new ArrayList<>(fileNames.length); for (String fileName : fileNames) { outputFiles.add(new OutputFile(fileName)); } return outputFiles; }
OutputFile { public static List<OutputFile> of(String... fileNames) { List<OutputFile> outputFiles = new ArrayList<>(fileNames.length); for (String fileName : fileNames) { outputFiles.add(new OutputFile(fileName)); } return outputFiles; } }
OutputFile { public static List<OutputFile> of(String... fileNames) { List<OutputFile> outputFiles = new ArrayList<>(fileNames.length); for (String fileName : fileNames) { outputFiles.add(new OutputFile(fileName)); } return outputFiles; } OutputFile(String name);  OutputFile(String name, FilePostProcessor postProcessor);  OutputFile(Function<Integer, String> nameFunc, FilePostProcessor postProcessor); }
OutputFile { public static List<OutputFile> of(String... fileNames) { List<OutputFile> outputFiles = new ArrayList<>(fileNames.length); for (String fileName : fileNames) { outputFiles.add(new OutputFile(fileName)); } return outputFiles; } OutputFile(String name);  OutputFile(String name, FilePostProcessor postProcessor);  OutputFile(Function<Integer, String> nameFunc, FilePostProcessor postProcessor); static List<OutputFile> of(String... fileNames); String getName(int executionNumber); FilePostProcessor getPostProcessor(); boolean dependsOnExecutionNumber(); }
OutputFile { public static List<OutputFile> of(String... fileNames) { List<OutputFile> outputFiles = new ArrayList<>(fileNames.length); for (String fileName : fileNames) { outputFiles.add(new OutputFile(fileName)); } return outputFiles; } OutputFile(String name);  OutputFile(String name, FilePostProcessor postProcessor);  OutputFile(Function<Integer, String> nameFunc, FilePostProcessor postProcessor); static List<OutputFile> of(String... fileNames); String getName(int executionNumber); FilePostProcessor getPostProcessor(); boolean dependsOnExecutionNumber();  }