Create explicit method to create new repository locations

This commit is contained in:
René Pfeuffer
2019-06-05 14:27:35 +02:00
parent c7875e7f78
commit b274952fa9
10 changed files with 57 additions and 14 deletions

View File

@@ -21,6 +21,11 @@ public class TempDirRepositoryLocationResolver extends BasicRepositoryLocationRe
return (T) tempDirectory.toPath();
}
@Override
public T createLocation(String repositoryId) {
return (T) tempDirectory.toPath();
}
@Override
public void setLocation(String repositoryId, T location) {
throw new UnsupportedOperationException("not implemented for tests");