@Extension public static class SubversionSCM.DescriptorImpl extends hudson.scm.SCMDescriptor<SubversionSCM> implements hudson.model.ModelObject
| Modifier and Type | Class and Description |
|---|---|
static class |
SubversionSCM.DescriptorImpl.Credential
Stores
SVNAuthentication for a single realm. |
static class |
SubversionSCM.DescriptorImpl.PasswordCredential
Username/password based authentication.
|
static class |
SubversionSCM.DescriptorImpl.SshPublicKeyCredential
Public key authentication for Subversion over SSH.
|
static class |
SubversionSCM.DescriptorImpl.SslClientCertificateCredential
SSL client certificate based authentication.
|
| Modifier | Constructor and Description |
|---|---|
|
DescriptorImpl() |
protected |
DescriptorImpl(Class clazz,
Class<? extends hudson.scm.RepositoryBrowser> repositoryBrowser) |
| Modifier and Type | Method and Description |
|---|---|
org.tmatesoft.svn.core.SVNNodeKind |
checkRepositoryPath(hudson.model.AbstractProject context,
org.tmatesoft.svn.core.SVNURL repoURL)
|
org.tmatesoft.svn.core.SVNNodeKind |
checkRepositoryPath(hudson.model.Item context,
org.tmatesoft.svn.core.SVNURL repoURL,
com.cloudbees.plugins.credentials.common.StandardCredentials credentials) |
org.tmatesoft.svn.core.SVNNodeKind |
checkRepositoryPath(hudson.model.Job context,
org.tmatesoft.svn.core.SVNURL repoURL,
com.cloudbees.plugins.credentials.common.StandardCredentials credentials)
Deprecated.
|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider |
createAuthenticationProvider()
Deprecated.
as of 1.18
Now that Hudson allows different credentials to be given in different jobs,
The caller should use
createAuthenticationProvider(AbstractProject) to indicate
the project in which the subversion operation is performed. |
org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider |
createAuthenticationProvider(hudson.model.AbstractProject<?,?> inContextOf)
Deprecated.
as of 2.0
|
hudson.util.FormValidation |
doCheckExcludedCommitMessages(String value)
Validates the excludeCommitMessages field
|
hudson.util.FormValidation |
doCheckExcludedRegions(String value)
Validates the excludeRegions Regex
|
hudson.util.FormValidation |
doCheckExcludedUsers(String value)
Validates the excludeUsers field
|
hudson.util.FormValidation |
doCheckIncludedRegions(String value)
Validates the includedRegions Regex
|
hudson.util.FormValidation |
doCheckRemote(org.kohsuke.stapler.StaplerRequest req,
hudson.model.AbstractProject context,
String value,
String credentialsId)
Deprecated.
retained for API compatibility only
|
hudson.util.FormValidation |
doCheckRevisionPropertiesSupported(hudson.model.Item context,
String value,
String credentialsId,
String excludedRevprop)
Validates the remote server supports custom revision properties
|
void |
doPostCredential(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Submits the authentication info.
|
String |
getDisplayName() |
String |
getGlobalExcludedRevprop() |
static String |
getRelativePath(org.tmatesoft.svn.core.SVNURL repoURL,
org.tmatesoft.svn.core.io.SVNRepository repository) |
protected org.tmatesoft.svn.core.io.SVNRepository |
getRepository(hudson.model.AbstractProject context,
org.tmatesoft.svn.core.SVNURL repoURL)
|
protected org.tmatesoft.svn.core.io.SVNRepository |
getRepository(hudson.model.AbstractProject context,
org.tmatesoft.svn.core.SVNURL repoURL,
org.tmatesoft.svn.core.io.ISVNSession session)
|
protected org.tmatesoft.svn.core.io.SVNRepository |
getRepository(hudson.model.AbstractProject context,
org.tmatesoft.svn.core.SVNURL repoURL,
com.cloudbees.plugins.credentials.common.StandardCredentials credentials,
Map<String,com.cloudbees.plugins.credentials.Credentials> additionalCredentials)
|
protected org.tmatesoft.svn.core.io.SVNRepository |
getRepository(hudson.model.Item context,
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) |
protected org.tmatesoft.svn.core.io.SVNRepository |
getRepository(hudson.model.Job context,
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)
Deprecated.
|
int |
getWorkspaceFormat() |
List<WorkspaceUpdaterDescriptor> |
getWorkspaceUpdaterDescriptors() |
boolean |
isApplicable(hudson.model.Job project) |
boolean |
isBrowserReusable(SubversionSCM x,
SubversionSCM y) |
boolean |
isStoreAuthToDisk() |
boolean |
isValidateRemoteUpToVar() |
void |
load() |
hudson.scm.SCM |
newInstance(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject jsonObject) |
void |
postCredential(hudson.model.AbstractProject inContextOf,
String url,
String username,
String password,
File keyFile,
PrintWriter logWriter) |
void |
postCredential(String url,
String username,
String password,
File keyFile,
PrintWriter logWriter)
Deprecated.
|
void |
postCredential(String url,
UserProvidedCredential upc,
PrintWriter logWriter)
Submits the authentication info.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic void load()
load in class hudson.scm.SCMDescriptor<SubversionSCM>public hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject jsonObject)
throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.Descriptor<hudson.scm.SCM>hudson.model.Descriptor.FormExceptionpublic boolean isApplicable(hudson.model.Job project)
isApplicable in class hudson.scm.SCMDescriptor<SubversionSCM>public String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectgetDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>public String getGlobalExcludedRevprop()
public int getWorkspaceFormat()
public boolean isValidateRemoteUpToVar()
public boolean isStoreAuthToDisk()
public 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.FormExceptionpublic boolean isBrowserReusable(SubversionSCM x, SubversionSCM y)
isBrowserReusable in class hudson.scm.SCMDescriptor<SubversionSCM>@Deprecated public org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider createAuthenticationProvider(hudson.model.AbstractProject<?,?> inContextOf)
ISVNAuthenticationProvider backed by credentials.
This method must be invoked on the master, but the returned object is remotable.
Therefore, to access ISVNAuthenticationProvider, you need to call this method
on the master, then pass the object to the slave side, then call
SubversionSCM.createSvnClientManager(ISVNAuthenticationProvider) on the slave.
@Deprecated public org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider createAuthenticationProvider()
createAuthenticationProvider(AbstractProject) to indicate
the project in which the subversion operation is performed.public void doPostCredential(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic void postCredential(String url, String username, String password, File keyFile, PrintWriter logWriter) throws org.tmatesoft.svn.core.SVNException, IOException
postCredential(AbstractProject, String, String, String, File, PrintWriter)org.tmatesoft.svn.core.SVNExceptionIOExceptionpublic void postCredential(hudson.model.AbstractProject inContextOf,
String url,
String username,
String password,
File keyFile,
PrintWriter logWriter)
throws org.tmatesoft.svn.core.SVNException,
IOException
org.tmatesoft.svn.core.SVNExceptionIOExceptionpublic void postCredential(String url, UserProvidedCredential upc, PrintWriter logWriter) throws org.tmatesoft.svn.core.SVNException, IOException
org.tmatesoft.svn.core.SVNExceptionIOException@CheckForNull @Deprecated public hudson.util.FormValidation doCheckRemote(org.kohsuke.stapler.StaplerRequest req, @AncestorInPath hudson.model.AbstractProject context, @QueryParameter String value, @QueryParameter String credentialsId)
@Deprecated public org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(hudson.model.AbstractProject context, org.tmatesoft.svn.core.SVNURL repoURL) throws org.tmatesoft.svn.core.SVNException
checkRepositoryPath(hudson.model.Job, org.tmatesoft.svn.core.SVNURL, com.cloudbees.plugins.credentials.common.StandardCredentials)org.tmatesoft.svn.core.SVNException@Deprecated public org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(hudson.model.Job context, org.tmatesoft.svn.core.SVNURL repoURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(hudson.model.Item context,
org.tmatesoft.svn.core.SVNURL repoURL,
com.cloudbees.plugins.credentials.common.StandardCredentials credentials)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException@Deprecated protected org.tmatesoft.svn.core.io.SVNRepository getRepository(hudson.model.AbstractProject context, org.tmatesoft.svn.core.SVNURL repoURL) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException@Deprecated protected org.tmatesoft.svn.core.io.SVNRepository getRepository(hudson.model.AbstractProject context, org.tmatesoft.svn.core.SVNURL repoURL, org.tmatesoft.svn.core.io.ISVNSession session) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException@Deprecated protected org.tmatesoft.svn.core.io.SVNRepository getRepository(hudson.model.AbstractProject context, org.tmatesoft.svn.core.SVNURL repoURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials, Map<String,com.cloudbees.plugins.credentials.Credentials> additionalCredentials) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException@Deprecated protected org.tmatesoft.svn.core.io.SVNRepository getRepository(hudson.model.Job context, 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
org.tmatesoft.svn.core.SVNExceptionprotected org.tmatesoft.svn.core.io.SVNRepository getRepository(hudson.model.Item context,
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
org.tmatesoft.svn.core.SVNExceptionpublic static String getRelativePath(org.tmatesoft.svn.core.SVNURL repoURL, org.tmatesoft.svn.core.io.SVNRepository repository) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic hudson.util.FormValidation doCheckExcludedRegions(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckIncludedRegions(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckExcludedUsers(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic List<WorkspaceUpdaterDescriptor> getWorkspaceUpdaterDescriptors()
public hudson.util.FormValidation doCheckExcludedCommitMessages(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckRevisionPropertiesSupported(@AncestorInPath
hudson.model.Item context,
@QueryParameter
String value,
@QueryParameter
String credentialsId,
@QueryParameter
String excludedRevprop)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionCopyright © 2004–2015. All rights reserved.