hudson.plugins.git
Class GitSCM.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<hudson.scm.SCM>
hudson.scm.SCMDescriptor<GitSCM>
hudson.plugins.git.GitSCM.DescriptorImpl
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- GitSCM
@Extension
public static final class GitSCM.DescriptorImpl
- extends hudson.scm.SCMDescriptor<GitSCM>
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Fields inherited from class hudson.scm.SCMDescriptor |
generation, repositoryBrowser |
| Fields inherited from class hudson.model.Descriptor |
clazz |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
|
Method Summary |
static java.util.List<BranchSpec> |
createBranches(java.lang.String[] branch)
|
static GitWeb |
createGitWeb(java.lang.String url)
|
static PreBuildMergeOptions |
createMergeOptions(java.lang.String doMerge,
java.lang.String pMergeRemote,
java.lang.String mergeTarget,
java.util.List<org.spearce.jgit.transport.RemoteConfig> remoteRepositories)
|
static java.util.List<org.spearce.jgit.transport.RemoteConfig> |
createRepositoryConfigurations(java.lang.String[] pUrls,
java.lang.String[] repoNames,
java.lang.String[] refSpecs)
|
static java.util.List<org.spearce.jgit.transport.RemoteConfig> |
createRepositoryConfigurations(java.lang.String[] pUrls,
java.lang.String[] repoNames,
java.lang.String[] refSpecs,
java.io.File temp)
Deprecated. Use createRepositoryConfigurations(String[], String[], String[]) |
hudson.util.FormValidation |
doGitRemoteNameCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
java.util.List<BuildChooserDescriptor> |
getBuildChooserDescriptors()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getGitExe()
Deprecated. |
java.util.List<GitTool> |
getGitTools()
Lists available toolinstallations. |
java.lang.String |
getOldGitExe()
Old configuration of git executable - exposed so that we can
migrate this setting to GitTool without deprecation warnings. |
hudson.scm.SCM |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
| Methods inherited from class hudson.scm.SCMDescriptor |
getBrowserDescriptors, isApplicable, isBrowserReusable, load |
| Methods inherited from class hudson.model.Descriptor |
configure, configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GitSCM.DescriptorImpl
public GitSCM.DescriptorImpl()
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>
getBuildChooserDescriptors
public java.util.List<BuildChooserDescriptor> getBuildChooserDescriptors()
getGitTools
public java.util.List<GitTool> getGitTools()
- Lists available toolinstallations.
- Returns:
- list of available git tools
getGitExe
@Deprecated
public java.lang.String getGitExe()
- Deprecated.
- Path to git executable.
- See Also:
GitTool
getOldGitExe
public java.lang.String getOldGitExe()
- Old configuration of git executable - exposed so that we can
migrate this setting to GitTool without deprecation warnings.
newInstance
public hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.scm.SCM>
- Throws:
hudson.model.Descriptor.FormException
createRepositoryConfigurations
public static java.util.List<org.spearce.jgit.transport.RemoteConfig> createRepositoryConfigurations(java.lang.String[] pUrls,
java.lang.String[] repoNames,
java.lang.String[] refSpecs)
throws java.io.IOException
- Throws:
java.io.IOException
createRepositoryConfigurations
public static java.util.List<org.spearce.jgit.transport.RemoteConfig> createRepositoryConfigurations(java.lang.String[] pUrls,
java.lang.String[] repoNames,
java.lang.String[] refSpecs,
java.io.File temp)
- Deprecated. Use
createRepositoryConfigurations(String[], String[], String[])
createBranches
public static java.util.List<BranchSpec> createBranches(java.lang.String[] branch)
createMergeOptions
public static PreBuildMergeOptions createMergeOptions(java.lang.String doMerge,
java.lang.String pMergeRemote,
java.lang.String mergeTarget,
java.util.List<org.spearce.jgit.transport.RemoteConfig> remoteRepositories)
throws hudson.model.Descriptor.FormException
- Throws:
hudson.model.Descriptor.FormException
createGitWeb
public static GitWeb createGitWeb(java.lang.String url)
doGitRemoteNameCheck
public hudson.util.FormValidation doGitRemoteNameCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2010. All Rights Reserved.