@Override
 protected Set<String> getPatterns(TestNGConfiguration configuration) {
   return configuration.getPersistantData().getPatterns();
 }
 @Override
 protected boolean isPatternBasedConfiguration(TestNGConfiguration configuration) {
   return TestType.PATTERN.getType().equals(configuration.getPersistantData().TEST_OBJECT);
 }