| 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.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the clone URL specific to this protocol for the supplied Repository 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 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