com.atlassian.bitbucket.scm.ScmProtocol |
Known Indirect Subclasses |
An extension point for declaring an Scm's
support for a protocol and for generating protocol-specific
clone URLs for Repository repositories of that kind
.
This extension point is not used to implement such a protocol, merely to indicate that it is supported.
Note: Implementations of this interface are required to be thread-safe.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the clone URL specific to this protocol for the supplied
repository and, if
appropriate, tailored to the supplied user . | |||||||||||
Determines if this protocol supports the specified
SCM . |
clone URLs
, which
must not be null
Retrieves the clone URL specific to this protocol for the supplied repository
and, if
appropriate, tailored to the supplied user
. Implementations must handle the case where
there is no such user active.
repository | the repository to calculate the clone URL against |
---|---|
user | the possibly null user to tailor the clone URL for if this is appropriate to the protocol |