public class GitSCMSource extends AbstractGitSCMSource
| Modifier and Type | Class and Description |
|---|---|
static class |
GitSCMSource.DescriptorImpl |
static class |
GitSCMSource.ListenerImpl |
AbstractGitSCMSource.SCMRevisionImpl, AbstractGitSCMSource.SpecificRevisionBuildChooser| Constructor and Description |
|---|
GitSCMSource(String id,
String remote,
String credentialsId,
String includes,
String excludes,
boolean ignoreOnPushNotifications) |
| Modifier and Type | Method and Description |
|---|---|
GitRepositoryBrowser |
getBrowser()
Gets
GitRepositoryBrowser to be used with this SCMSource. |
String |
getCredentialsId() |
String |
getExcludes() |
List<GitSCMExtension> |
getExtensions()
Gets list of extensions, which should be used with this branch source.
|
String |
getGitTool()
Gets Git tool to be used for this SCM Source.
|
String |
getIncludes() |
protected List<org.eclipse.jgit.transport.RefSpec> |
getRefSpecs() |
String |
getRemote() |
boolean |
isIgnoreOnPushNotifications() |
void |
setBrowser(GitRepositoryBrowser browser) |
void |
setExtensions(List<GitSCMExtension> extensions) |
void |
setGitTool(String gitTool) |
build, getCacheDir, getCacheEntry, getCacheLock, getCredentials, getRemoteConfigs, getRemoteName, isExcluded, resolveGitTool, retrieve, retrieve, retrieve, retrieveRevisionspublic static final Logger LOGGER
public boolean isIgnoreOnPushNotifications()
public GitRepositoryBrowser getBrowser()
AbstractGitSCMSourceGitRepositoryBrowser to be used with this SCMSource.getBrowser in class AbstractGitSCMSourcenull if the default tool should be used.@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @DataBoundSetter public void setBrowser(GitRepositoryBrowser browser)
public String getGitTool()
AbstractGitSCMSourcegetGitTool in class AbstractGitSCMSourcenull if the default tool should be used.@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @DataBoundSetter public void setGitTool(String gitTool)
public List<GitSCMExtension> getExtensions()
AbstractGitSCMSourcegetExtensions in class AbstractGitSCMSource@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @DataBoundSetter public void setExtensions(List<GitSCMExtension> extensions)
public String getCredentialsId()
getCredentialsId in class AbstractGitSCMSourcepublic String getRemote()
getRemote in class AbstractGitSCMSourcepublic String getIncludes()
getIncludes in class AbstractGitSCMSourcepublic String getExcludes()
getExcludes in class AbstractGitSCMSourceprotected List<org.eclipse.jgit.transport.RefSpec> getRefSpecs()
getRefSpecs in class AbstractGitSCMSourceCopyright © 2007–2016. All rights reserved.