| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
static PreBuildMergeOptions |
createMergeOptions(UserMergeOptions mergeOptionsBean,
List<org.eclipse.jgit.transport.RemoteConfig> remoteRepositories) |
static List<org.eclipse.jgit.transport.RemoteConfig> |
createRepositoryConfigurations(String[] urls,
String[] repoNames,
String[] refs) |
hudson.util.ListBoxModel |
doFillGitToolItems() |
hudson.util.FormValidation |
doGitRemoteNameCheck(org.kohsuke.stapler.StaplerRequest req) |
String |
getDisplayName() |
List<GitSCMExtensionDescriptor> |
getExtensionDescriptors() |
String |
getGitExe()
Deprecated.
|
List<hudson.plugins.git.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.
|
boolean |
isApplicable(hudson.model.Job project) |
boolean |
isCreateAccountBasedOnEmail() |
void |
populateEnvironmentVariables(Map<String,String> env)
Fill in the environment variables for launching git
|
void |
setCreateAccountBasedOnEmail(boolean createAccountBasedOnEmail) |
void |
setGlobalConfigEmail(String globalConfigEmail)
Global setting to be used in call to "git config user.email".
|
void |
setGlobalConfigName(String globalConfigName)
Global setting to be used in call to "git config user.name".
|
boolean |
showGitToolOptions() |
getBrowserDescriptors, isApplicable, isBrowserReusable, loadaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>public boolean isApplicable(hudson.model.Job project)
isApplicable in class hudson.scm.SCMDescriptor<GitSCM>public List<GitSCMExtensionDescriptor> getExtensionDescriptors()
public boolean showGitToolOptions()
public List<hudson.plugins.git.GitTool> getGitTools()
public hudson.util.ListBoxModel doFillGitToolItems()
@Deprecated public String getGitExe()
GitToolpublic String getGlobalConfigName()
public void setGlobalConfigName(String globalConfigName)
globalConfigName - user.name value to be assignedpublic String getGlobalConfigEmail()
public void setGlobalConfigEmail(String globalConfigEmail)
globalConfigEmail - user.email value to be assignedpublic boolean isCreateAccountBasedOnEmail()
public void setCreateAccountBasedOnEmail(boolean createAccountBasedOnEmail)
public String getOldGitExe()
public static List<org.eclipse.jgit.transport.RemoteConfig> createRepositoryConfigurations(String[] urls, String[] repoNames, String[] refs) throws IOException
IOExceptionpublic static PreBuildMergeOptions createMergeOptions(UserMergeOptions mergeOptionsBean, List<org.eclipse.jgit.transport.RemoteConfig> remoteRepositories) throws hudson.model.Descriptor.FormException
hudson.model.Descriptor.FormExceptionpublic hudson.util.FormValidation doGitRemoteNameCheck(org.kohsuke.stapler.StaplerRequest req)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.scm.SCM>hudson.model.Descriptor.FormExceptionCopyright © 2007–2017. All rights reserved.