hudson.plugins.mercurial
Class MercurialSCM.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<SCM>
hudson.scm.SCMDescriptor<MercurialSCM>
hudson.plugins.mercurial.MercurialSCM.DescriptorImpl
- All Implemented Interfaces:
- Saveable
- Enclosing class:
- MercurialSCM
@Extension
public static final class MercurialSCM.DescriptorImpl
- extends SCMDescriptor<MercurialSCM>
|
Field Summary |
private java.lang.String |
hgExe
|
| Methods inherited from class hudson.model.Descriptor |
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, 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 |
hgExe
private java.lang.String hgExe
MercurialSCM.DescriptorImpl
public MercurialSCM.DescriptorImpl()
getBrowserDescriptors
public java.util.List<Descriptor<RepositoryBrowser<?>>> getBrowserDescriptors()
-
Due to compatibility issues with older version we implement this ourselves instead of relying
on the parent method. Kohsuke implemented a fix for this in the core (r21961), so we may drop
this function after 1.325 is released.
- Overrides:
getBrowserDescriptors in class SCMDescriptor<MercurialSCM>
- See Also:
- #4514,
core fix
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in class Descriptor<SCM>
getHgExe
public java.lang.String getHgExe()
- Path to mercurial executable.
newInstance
public SCM newInstance(StaplerRequest req,
net.sf.json.JSONObject formData)
throws Descriptor.FormException
- Overrides:
newInstance in class Descriptor<SCM>
- Throws:
Descriptor.FormException
configure
public boolean configure(StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
- Overrides:
configure in class Descriptor<SCM>
- Throws:
Descriptor.FormException
Copyright © 2010. All Rights Reserved.