Migrate verbs to roles if possible

This commit is contained in:
René Pfeuffer
2019-05-15 15:57:18 +02:00
parent e7030538a7
commit 93025629e6
6 changed files with 270 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
package sonia.scm.repository.xml;
import javax.inject.Inject;
import java.nio.file.Path;
import java.util.function.BiConsumer;
public class SingleRepositoryUpdateProcessor {
@Inject
private PathBasedRepositoryLocationResolver locationResolver;
public void doUpdate(BiConsumer<String, Path> forEachRepository) {
locationResolver.forAllPaths(forEachRepository);
}
}