Package org.xwiki.extension
Class AbstractExtensionScmConnection
- java.lang.Object
-
- org.xwiki.extension.AbstractExtensionScmConnection
-
- All Implemented Interfaces:
ExtensionScmConnection
- Direct Known Subclasses:
DefaultExtensionScmConnection
public abstract class AbstractExtensionScmConnection extends Object implements ExtensionScmConnection
Base class for implementations ofExtensionScmConnection
.- Since:
- 6.3M1
- Version:
- $Id: 1b780402f1bdc984c96aa40b2ca5a6a8c3eaf4f3 $
-
-
Constructor Summary
Constructors Constructor Description AbstractExtensionScmConnection(String str)
AbstractExtensionScmConnection(String system, String path)
-
-
-
Constructor Detail
-
AbstractExtensionScmConnection
public AbstractExtensionScmConnection(String system, String path)
- Parameters:
system
- the system namepath
- the system specific path
-
AbstractExtensionScmConnection
public AbstractExtensionScmConnection(String str)
- Parameters:
str
- the serialized scm connection- Since:
- 9.0RC1
-
-
Method Detail
-
getSystem
public String getSystem()
- Specified by:
getSystem
in interfaceExtensionScmConnection
- Returns:
- the name of the source management system (git, svn, etc.)
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceExtensionScmConnection
- Returns:
- the path for that source management system (usually a URL)
-
-