public abstract class AbstractExtensionScm extends Object implements ExtensionScm
ExtensionScm
.Constructor and Description |
---|
AbstractExtensionScm(String url,
ExtensionScmConnection connection,
ExtensionScmConnection developerConnection) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ExtensionScmConnection |
getConnection()
Get the source control management system connection that describes the repository and how to connect to the
repository.
|
ExtensionScmConnection |
getDeveloperConnection()
Same as
ExtensionScm.getConnection() , but for developers, i.e. |
String |
getUrl()
Get the URL to the project's browsable SCM repository.
|
int |
hashCode() |
public AbstractExtensionScm(String url, ExtensionScmConnection connection, ExtensionScmConnection developerConnection)
url
- the browsable URLconnection
- the read connectiondeveloperConnection
- the write connectionpublic ExtensionScmConnection getConnection()
ExtensionScm
getConnection
in interface ExtensionScm
public ExtensionScmConnection getDeveloperConnection()
ExtensionScm
ExtensionScm.getConnection()
, but for developers, i.e. this scm connection will not be read only.getDeveloperConnection
in interface ExtensionScm
public String getUrl()
ExtensionScm
getUrl
in interface ExtensionScm
Copyright © 2004–2021 XWiki. All rights reserved.