void (TestNGConfiguration config) { TestData data = config.getPersistantData(); setType(data.TEST_OBJECT); setTypeValue(TestType.PACKAGE, data.getPackageName()); setTypeValue(TestType.CLASS, data.getMainClassName()); setTypeValue(TestType.METHOD, data.getMethodName()); setTypeValue(TestType.GROUP, data.getGroupName()); setTypeValue(TestType.SUITE, data.getSuiteName()); setTypeValue(TestType.PATTERN, StringUtil.join(data.getPatterns(), "||")); setDocumentText(propertiesFileDocument, data.getPropertiesFile()); setDocumentText(outputDirectoryDocument, data.getOutputDirectory()); }