hudson.plugins.git
Class GitSCM
java.lang.Object
hudson.scm.SCM
hudson.plugins.git.GitSCM
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>, java.io.Serializable
public class GitSCM
- extends hudson.scm.SCM
- implements java.io.Serializable
Git SCM.
- Author:
- Nigel Magnay
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.scm.SCM |
PERMISSIONS, TAG |
| Methods inherited from class hudson.scm.SCM |
_for, all, buildEnvVars, createEmptyChangeLog, getEffectiveBrowser, getModuleRoot, getModuleRoots, nullify, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GitSCM
@DataBoundConstructor
public GitSCM(java.util.List<org.spearce.jgit.transport.RemoteConfig> repositories,
java.util.List<BranchSpec> branches,
PreBuildMergeOptions mergeOptions,
boolean doGenerateSubmoduleConfigurations,
java.util.Collection<SubmoduleConfig> submoduleCfg,
GitWeb browser)
getSubmoduleCfg
public java.util.Collection<SubmoduleConfig> getSubmoduleCfg()
setSubmoduleCfg
public void setSubmoduleCfg(java.util.Collection<SubmoduleConfig> submoduleCfg)
readResolve
public java.lang.Object readResolve()
getBrowser
public GitWeb getBrowser()
- Overrides:
getBrowser in class hudson.scm.SCM
getRepositories
public java.util.List<org.spearce.jgit.transport.RemoteConfig> getRepositories()
pollChanges
public boolean pollChanges(hudson.model.AbstractProject project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
pollChanges in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
getSubmoduleRepository
public org.spearce.jgit.transport.RemoteConfig getSubmoduleRepository(org.spearce.jgit.transport.RemoteConfig orig,
java.lang.String name)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
checkout
public boolean checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
java.io.File changelogFile)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
checkout in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
createChangeLogParser
public hudson.scm.ChangeLogParser createChangeLogParser()
- Specified by:
createChangeLogParser in class hudson.scm.SCM
getDescriptor
public GitSCM.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>- Overrides:
getDescriptor in class hudson.scm.SCM
getDoGenerate
public boolean getDoGenerate()
getBranches
public java.util.List<BranchSpec> getBranches()
getMergeOptions
public PreBuildMergeOptions getMergeOptions()
Copyright © 2009. All Rights Reserved.