mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
Set namespace while creating a repository
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package sonia.scm.repository;
|
||||
|
||||
import sonia.scm.plugin.ExtensionPoint;
|
||||
|
||||
@ExtensionPoint
|
||||
public interface NamespaceStrategy {
|
||||
String getNamespace();
|
||||
}
|
||||
@@ -33,8 +33,6 @@
|
||||
|
||||
package sonia.scm.repository.spi;
|
||||
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
|
||||
import sonia.scm.plugin.ExtensionPoint;
|
||||
import sonia.scm.repository.Repository;
|
||||
|
||||
@@ -55,5 +53,5 @@ public interface RepositoryServiceResolver
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public RepositoryServiceProvider reslove(Repository repository);
|
||||
public RepositoryServiceProvider resolve(Repository repository);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user