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 |
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
static List<BranchSpec> |
createBranches(String[] branch)
|
static GitWeb |
createGitWeb(String url)
|
static PreBuildMergeOptions |
createMergeOptions(String doMerge,
String pMergeRemote,
String mergeTarget,
List<org.spearce.jgit.transport.RemoteConfig> remoteRepositories)
|
static List<org.spearce.jgit.transport.RemoteConfig> |
createRepositoryConfigurations(String[] pUrls,
String[] repoNames,
String[] refSpecs)
|
static List<org.spearce.jgit.transport.RemoteConfig> |
createRepositoryConfigurations(String[] pUrls,
String[] repoNames,
String[] refSpecs,
File temp)
Deprecated. Use createRepositoryConfigurations(String[], String[], String[]) |
hudson.util.FormValidation |
doGitRemoteNameCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
List<BuildChooserDescriptor> |
getBuildChooserDescriptors()
|
String |
getDisplayName()
|
String |
getGitExe()
Deprecated. |
List<GitTool> |
getGitTools()
Lists available toolinstallations. |
String |
getGlobalConfigEmail()
Global setting to be used in call to "git config user.email". |
String |
getGlobalConfigName()
Global setting to be used in call to "git config user.name". |
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 |
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, 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 String getDisplayName()
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>
getBuildChooserDescriptors
public List<BuildChooserDescriptor> getBuildChooserDescriptors()
getGitTools
public List<GitTool> getGitTools()
- Lists available toolinstallations.
- Returns:
- list of available git tools
getGitExe
@Deprecated
public String getGitExe()
- Deprecated.
- Path to git executable.
- See Also:
GitTool
getGlobalConfigName
public String getGlobalConfigName()
- Global setting to be used in call to "git config user.name".
getGlobalConfigEmail
public String getGlobalConfigEmail()
- Global setting to be used in call to "git config user.email".
getOldGitExe
public 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 List<org.spearce.jgit.transport.RemoteConfig> createRepositoryConfigurations(String[] pUrls,
String[] repoNames,
String[] refSpecs)
throws IOException
- Throws:
IOException
createRepositoryConfigurations
public static List<org.spearce.jgit.transport.RemoteConfig> createRepositoryConfigurations(String[] pUrls,
String[] repoNames,
String[] refSpecs,
File temp)
- Deprecated. Use
createRepositoryConfigurations(String[], String[], String[])
createBranches
public static List<BranchSpec> createBranches(String[] branch)
createMergeOptions
public static PreBuildMergeOptions createMergeOptions(String doMerge,
String pMergeRemote,
String mergeTarget,
List<org.spearce.jgit.transport.RemoteConfig> remoteRepositories)
throws hudson.model.Descriptor.FormException
- Throws:
hudson.model.Descriptor.FormException
createGitWeb
public static GitWeb createGitWeb(String url)
doGitRemoteNameCheck
public hudson.util.FormValidation doGitRemoteNameCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
configure in class hudson.model.Descriptor<hudson.scm.SCM>
- Throws:
hudson.model.Descriptor.FormException
Copyright © 2004-2011 Hudson. All Rights Reserved.