Commits

Sebastian Sdorra committed 94789ba

improve RepositoryManager api

Comments (0)

Files changed (2)

scm-core/src/main/java/sonia/scm/repository/BasicRepositoryManager.java

    * Method description
    *
    *
+   * @param type
+   *
+   * @return
+   */
+  @Override
+  public RepositoryHandler getHandler(String type)
+  {
+    return handlerMap.get(type);
+  }
+
+  /**
+   * Method description
+   *
+   *
    * @return
    */
   @Override

scm-core/src/main/java/sonia/scm/repository/RepositoryManager.java

    * Method description
    *
    *
+   * @param type
+   *
+   * @return
+   */
+  public RepositoryHandler getHandler(String type);
+
+  /**
+   * Method description
+   *
+   *
    * @return
    */
   public Collection<RepositoryType> getTypes();