Package jenkins.scm.impl.subversion
Class SubversionSCMSource.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSourceDescriptor
jenkins.scm.impl.subversion.SubversionSCMSource.DescriptorImpl
- Enclosing class:
SubversionSCMSource
@Extension
public static class SubversionSCMSource.DescriptorImpl
extends jenkins.scm.api.SCMSourceDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
FieldsFields inherited from class jenkins.scm.api.SCMSourceDescriptor
categoriesFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.tmatesoft.svn.core.SVNNodeKindcheckRepositoryPath(org.tmatesoft.svn.core.SVNURL repoURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials) doCheckCredentialsId(org.kohsuke.stapler.StaplerRequest2 req, Item context, String remoteBase, String value) validate the value for a remote (repository) location.doFillCredentialsIdItems(Item context, String remoteBase, String credentialsId) Stapler helper method.Expose theSubversionRepositoryBrowserinstances to stapler.static StringgetRelativePath(org.tmatesoft.svn.core.SVNURL repoURL, org.tmatesoft.svn.core.io.SVNRepository repository) protected org.tmatesoft.svn.core.io.SVNRepositorygetRepository(org.tmatesoft.svn.core.SVNURL repoURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials, Map<String, com.cloudbees.plugins.credentials.Credentials> additionalCredentials, org.tmatesoft.svn.core.io.ISVNSession session) Expose theWorkspaceUpdaterinstances to stapler.Methods inherited from class jenkins.scm.api.SCMSourceDescriptor
createCategories, forOwner, forOwner, forOwner, forOwner, getCategories, getIconClassName, getId, getPronoun, getTraitsDefaults, isApplicable, isUserInstantiableMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
DEFAULT_INCLUDES
- See Also:
-
DEFAULT_EXCLUDES
- See Also:
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<jenkins.scm.api.SCMSource>
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String remoteBase, @QueryParameter String credentialsId) Stapler helper method.- Parameters:
context- the context.remoteBase- the remote base.- Returns:
- list box model.
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(org.kohsuke.stapler.StaplerRequest2 req, @AncestorInPath Item context, @QueryParameter String remoteBase, @QueryParameter String value) validate the value for a remote (repository) location. -
checkRepositoryPath
public org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(org.tmatesoft.svn.core.SVNURL repoURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials) throws org.tmatesoft.svn.core.SVNException - Throws:
org.tmatesoft.svn.core.SVNException
-
getRepository
protected org.tmatesoft.svn.core.io.SVNRepository getRepository(org.tmatesoft.svn.core.SVNURL repoURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials, Map<String, com.cloudbees.plugins.credentials.Credentials> additionalCredentials, org.tmatesoft.svn.core.io.ISVNSession session) throws org.tmatesoft.svn.core.SVNException- Throws:
org.tmatesoft.svn.core.SVNException
-
getRelativePath
public static String getRelativePath(org.tmatesoft.svn.core.SVNURL repoURL, org.tmatesoft.svn.core.io.SVNRepository repository) throws org.tmatesoft.svn.core.SVNException - Throws:
org.tmatesoft.svn.core.SVNException
-
getWorkspaceUpdaterDescriptors
Expose theWorkspaceUpdaterinstances to stapler.- Returns:
- the
WorkspaceUpdaterinstances
-
getBrowserDescriptors
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<Descriptor<RepositoryBrowser<?>>> getBrowserDescriptors()Expose theSubversionRepositoryBrowserinstances to stapler.- Returns:
- the
SubversionRepositoryBrowserinstances
-