Class InitialRepositoryLocationResolver

java.lang.Object
sonia.scm.repository.InitialRepositoryLocationResolver

public class InitialRepositoryLocationResolver extends Object
A Location Resolver for File based Repository Storage.

WARNING: The Locations provided with this class may not be used from the plugins to store any plugin specific files.

Please use the DataStoreFactory and the DataStore classes to store data
Please use the BlobStoreFactory and the BlobStore classes to store binary files
Please use the ConfigurationStoreFactory and the ConfigurationStore classes to store configurations

Since:
2.0.0
  • Constructor Details

    • InitialRepositoryLocationResolver

      @Inject public InitialRepositoryLocationResolver(Set<RepositoryLocationOverride> repositoryLocationOverrides)
  • Method Details

    • getPath

      public Path getPath(String repositoryId)
      Returns the initial path to repository.
    • getPath

      public Path getPath(Repository repository)