Package hudson.scm
Class CVSSCM.DescriptorImpl
- All Implemented Interfaces:
ModelObject
,Saveable
,ICvsDescriptor
,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
repositoryBrowser
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o) Returns allCVSROOT
strings used in the current Jenkins installation.Provides the format that the changelog (and any other plugin files) should be read and written in.int
Deprecated.static CVSSCM.DescriptorImpl
getOrDie()
void
load()
newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class hudson.scm.AbstractCvsDescriptor
isApplicable, isBrowserReusable
Methods inherited from class hudson.scm.SCMDescriptor
getGeneration, incrementGeneration, isApplicable
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getBrowserDescriptors
- Overrides:
getBrowserDescriptors
in classSCMDescriptor<CVSSCM>
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
- Overrides:
getDisplayName
in classDescriptor<SCM>
-
newInstance
public SCM newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstance
in classDescriptor<SCM>
- Throws:
Descriptor.FormException
-
getPrivateKeyLocation
- Specified by:
getPrivateKeyLocation
in interfaceICvsDescriptor
-
getPrivateKeyPassword
- Specified by:
getPrivateKeyPassword
in interfaceICvsDescriptor
-
getKnownHostsLocation
- Specified by:
getKnownHostsLocation
in interfaceICvsDescriptor
-
getCompressionLevel
@Exported public int getCompressionLevel()- Specified by:
getCompressionLevel
in interfaceICvsDescriptor
-
getAuthentication
- Specified by:
getAuthentication
in interfaceICvsDescriptor
-
getChangelogEncoding
Description copied from interface:ICvsDescriptor
Provides the format that the changelog (and any other plugin files) should be read and written in.- Specified by:
getChangelogEncoding
in interfaceICvsDescriptor
- Returns:
- the encoding selected by the user, defaults to UTF-8
-
load
public void load()- Overrides:
load
in classSCMDescriptor<CVSSCM>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o) - Overrides:
configure
in classDescriptor<SCM>
-
getAllCvsRoots
Returns allCVSROOT
strings used in the current Jenkins installation. -
getCvsPassFile
Deprecated. -
doCheckAuthenticationCvsRoot
-
getOrDie
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @NonNull public static CVSSCM.DescriptorImpl getOrDie()
-