use of com.mercedesbenz.sechub.domain.scan.config.NamePatternToIdEntry in project sechub by mercedes-benz.
the class NamePatternIdProviderFactory method createProvider.
public NamePatternIdProvider createProvider(String id, String parameterValue) {
NamePatternIdProvider provider;
MappingData mappingData = MappingData.fromString(parameterValue);
List<NamePatternToIdEntry> entries = converter.convert(mappingData);
provider = new NamePatternIdProvider(id);
for (NamePatternToIdEntry entry : entries) {
provider.add(entry);
}
return provider;
}
Aggregations