com.atlassian.stash.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 to Stash 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 StashUser supplied user. | |||||||||||
Determines if this protocol supports the supplied scm.
|
Retrieves the clone URL specific to this protocol for the supplied repository
and, if
appropriate, tailored to the StashUser 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 |
Determines if this protocol supports the supplied scm.
scm | the scm |
---|
Scm
or false otherwise