Package hudson.scm
Class CVSSCM.DescriptorImpl
- All Implemented Interfaces:
ModelObject,Saveable,ICvsDescriptor,Loadable,OnMaster
- Enclosing class:
- CVSSCM
@Extension
public static class CVSSCM.DescriptorImpl
extends AbstractCvsDescriptor<CVSSCM>
implements ModelObject
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.scm.SCMDescriptor
repositoryBrowserFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject o) Returns allCVSROOTstrings used in the current Jenkins installation.Provides the format that the changelog (and any other plugin files) should be read and written in.intDeprecated.static CVSSCM.DescriptorImplgetOrDie()voidload()newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) Methods inherited from class hudson.scm.AbstractCvsDescriptor
isApplicable, isBrowserReusableMethods inherited from class hudson.scm.SCMDescriptor
getGeneration, incrementGeneration, isApplicableMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getBrowserDescriptors
- Overrides:
getBrowserDescriptorsin classSCMDescriptor<CVSSCM>
-
getDisplayName
- Specified by:
getDisplayNamein interfaceModelObject- Overrides:
getDisplayNamein classDescriptor<SCM>
-
newInstance
public SCM newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstancein classDescriptor<SCM>- Throws:
Descriptor.FormException
-
getPrivateKeyLocation
- Specified by:
getPrivateKeyLocationin interfaceICvsDescriptor
-
getPrivateKeyPassword
- Specified by:
getPrivateKeyPasswordin interfaceICvsDescriptor
-
getKnownHostsLocation
- Specified by:
getKnownHostsLocationin interfaceICvsDescriptor
-
getCompressionLevel
@Exported public int getCompressionLevel()- Specified by:
getCompressionLevelin interfaceICvsDescriptor
-
getAuthentication
- Specified by:
getAuthenticationin interfaceICvsDescriptor
-
getChangelogEncoding
Description copied from interface:ICvsDescriptorProvides the format that the changelog (and any other plugin files) should be read and written in.- Specified by:
getChangelogEncodingin interfaceICvsDescriptor- Returns:
- the encoding selected by the user, defaults to UTF-8
-
load
public void load()- Specified by:
loadin interfaceLoadable- Overrides:
loadin classSCMDescriptor<CVSSCM>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject o) - Overrides:
configurein classDescriptor<SCM>
-
getAllCvsRoots
Returns allCVSROOTstrings used in the current Jenkins installation. -
getCvsPassFile
Deprecated. -
doCheckAuthenticationCvsRoot
-
getOrDie
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @NonNull public static CVSSCM.DescriptorImpl getOrDie()
-