mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
added getTags method to client api
This commit is contained in:
@@ -38,6 +38,7 @@ package sonia.scm.client;
|
||||
import sonia.scm.NotSupportedFeatuerException;
|
||||
import sonia.scm.Type;
|
||||
import sonia.scm.repository.Repository;
|
||||
import sonia.scm.repository.Tags;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
@@ -74,7 +75,7 @@ public interface RepositoryClientHandler extends ClientHandler<Repository>
|
||||
* @throws NotSupportedFeatuerException
|
||||
*/
|
||||
public ClientChangesetHandler getChangesetHandler(Repository repository)
|
||||
throws NotSupportedFeatuerException;
|
||||
throws NotSupportedFeatuerException;
|
||||
|
||||
/**
|
||||
* Method description
|
||||
@@ -88,7 +89,7 @@ public interface RepositoryClientHandler extends ClientHandler<Repository>
|
||||
* @throws NotSupportedFeatuerException
|
||||
*/
|
||||
public ClientRepositoryBrowser getRepositoryBrowser(Repository repository)
|
||||
throws NotSupportedFeatuerException;
|
||||
throws NotSupportedFeatuerException;
|
||||
|
||||
/**
|
||||
* Method description
|
||||
@@ -97,4 +98,15 @@ public interface RepositoryClientHandler extends ClientHandler<Repository>
|
||||
* @return
|
||||
*/
|
||||
public Collection<Type> getRepositoryTypes();
|
||||
|
||||
/**
|
||||
* Returns all tags of the given repository.
|
||||
*
|
||||
*
|
||||
* @param repository repository
|
||||
*
|
||||
* @return all tags of the given repository
|
||||
* @since 1.18
|
||||
*/
|
||||
public Tags getTags(Repository repository);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user