public abstract class SCM extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
configPage |
protected static Logger |
LOGGER |
protected String |
repositoryUrlHelpPath |
protected static List<SCM> |
SCM_IMPLEMENTATIONS |
protected String |
scmClassName |
protected String |
title |
Modifier | Constructor and Description |
---|---|
protected |
SCM(String _title,
String _configPage,
String _scmClassName,
String _repositoryUrlHelpPath) |
Modifier and Type | Method and Description |
---|---|
abstract String |
createScmUrlFromRequest(org.kohsuke.stapler.StaplerRequest req) |
abstract SCMCredentialConfiguration |
extractScmCredentials(String scmRepositoryURL) |
abstract String |
extractScmUrlFrom(String scmUrl) |
String |
getConfigPage() |
org.apache.maven.scm.repository.ScmRepository |
getConfiguredRepository(org.apache.maven.scm.manager.ScmManager scmManager,
String scmRepositoryURL) |
String |
getId() |
String |
getRepositoryUrlHelpPath() |
String |
getSCMClassName() |
hudson.model.Descriptor<hudson.scm.SCM> |
getSCMDescriptor() |
String |
getTitle() |
String |
toString() |
static SCM |
valueOf(Class<? extends SCM> clazz) |
static SCM |
valueOf(String scmId) |
static SCM[] |
values() |
protected static final Logger LOGGER
protected transient String title
protected transient String scmClassName
protected transient String configPage
protected transient String repositoryUrlHelpPath
public String getTitle()
public String getConfigPage()
public String getSCMClassName()
public hudson.model.Descriptor<hudson.scm.SCM> getSCMDescriptor()
public String getRepositoryUrlHelpPath()
public org.apache.maven.scm.repository.ScmRepository getConfiguredRepository(org.apache.maven.scm.manager.ScmManager scmManager, String scmRepositoryURL)
public abstract String createScmUrlFromRequest(org.kohsuke.stapler.StaplerRequest req)
public abstract SCMCredentialConfiguration extractScmCredentials(String scmRepositoryURL)
public static SCM[] values()
public String getId()
Copyright © 2004-2016. All Rights Reserved.