Package sonia.scm.repository.api
Interface ScmProtocol
- All Known Implementing Classes:
HttpScmProtocol
public interface ScmProtocol
An ScmProtocol represents a concrete protocol provided by the SCM-Manager instance
to interact with a repository depending on its type. There may be multiple protocols
available for a repository type (eg. http and ssh).
-
Method Details
-
getType
String getType()The type of the concrete protocol, eg. "http" or "ssh". -
getUrl
String getUrl()The URL to access the repository providing this protocol. -
isAnonymousEnabled
default boolean isAnonymousEnabled()Whether the protocol can be used as an anonymous user. -
getPriority
default int getPriority()Priority for frontend evaluation order- Returns:
- priority number
- Since:
- 2.48.0
-