|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.Descriptor<hudson.scm.SCM>
hudson.scm.SCMDescriptor<SubversionSCM>
hudson.scm.SubversionSCM.DescriptorImpl
@Extension public static class SubversionSCM.DescriptorImpl
| Nested Class Summary | |
|---|---|
static class |
SubversionSCM.DescriptorImpl.Credential
Stores SVNAuthentication for a single realm. |
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Field Summary |
|---|
| Fields inherited from class hudson.scm.SCMDescriptor |
|---|
generation, repositoryBrowser |
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
|
SubversionSCM.DescriptorImpl()
|
protected |
SubversionSCM.DescriptorImpl(java.lang.Class clazz,
java.lang.Class<? extends hudson.scm.RepositoryBrowser> repositoryBrowser)
|
| Method Summary | |
|---|---|
org.tmatesoft.svn.core.SVNNodeKind |
checkRepositoryPath(org.tmatesoft.svn.core.SVNURL repoURL)
|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req)
|
org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider |
createAuthenticationProvider()
Creates ISVNAuthenticationProvider backed by credentials. |
hudson.util.FormValidation |
doCheckExcludedRegions(java.lang.String value)
Validates the excludeRegions Regex |
hudson.util.FormValidation |
doCheckExcludedUsers(java.lang.String value)
Validates the excludeUsers field |
hudson.util.FormValidation |
doCheckLocal(java.lang.String value)
validate the value for a local location (local checkout directory). |
hudson.util.FormValidation |
doCheckRemote(org.kohsuke.stapler.StaplerRequest req,
java.lang.String value)
validate the value for a remote (repository) location. |
hudson.util.FormValidation |
doCheckRevisionPropertiesSupported(java.lang.String value)
Validates the remote server supports custom revision properties |
void |
doPostCredential(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Submits the authentication info. |
java.lang.String |
getDisplayName()
|
java.lang.String |
getGlobalExcludedRevprop()
|
static java.lang.String |
getRelativePath(org.tmatesoft.svn.core.SVNURL repoURL,
org.tmatesoft.svn.core.io.SVNRepository repository)
|
protected org.tmatesoft.svn.core.io.SVNRepository |
getRepository(org.tmatesoft.svn.core.SVNURL repoURL)
|
hudson.scm.SCM |
newInstance(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject jsonObject)
|
void |
postCredential(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.io.File keyFile,
java.io.PrintWriter logWriter)
Submits the authentication info. |
| Methods inherited from class hudson.scm.SCMDescriptor |
|---|
getBrowserDescriptors, isApplicable, isBrowserReusable |
| Methods inherited from class hudson.model.Descriptor |
|---|
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubversionSCM.DescriptorImpl()
protected SubversionSCM.DescriptorImpl(java.lang.Class clazz,
java.lang.Class<? extends hudson.scm.RepositoryBrowser> repositoryBrowser)
| Method Detail |
|---|
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 java.lang.String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectgetDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>public java.lang.String getGlobalExcludedRevprop()
public boolean configure(org.kohsuke.stapler.StaplerRequest req)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.scm.SCM>hudson.model.Descriptor.FormExceptionpublic org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider createAuthenticationProvider()
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.
SubversionSCM.createSvnClientManager(ISVNAuthenticationProvider)
public void doPostCredential(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public void postCredential(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.io.File keyFile,
java.io.PrintWriter logWriter)
throws org.tmatesoft.svn.core.SVNException,
java.io.IOException
org.tmatesoft.svn.core.SVNException
java.io.IOException
public hudson.util.FormValidation doCheckRemote(org.kohsuke.stapler.StaplerRequest req,
@QueryParameter
java.lang.String value)
public org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(org.tmatesoft.svn.core.SVNURL repoURL)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException
protected org.tmatesoft.svn.core.io.SVNRepository getRepository(org.tmatesoft.svn.core.SVNURL repoURL)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException
public static java.lang.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.SVNException
public hudson.util.FormValidation doCheckLocal(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public hudson.util.FormValidation doCheckExcludedRegions(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public hudson.util.FormValidation doCheckExcludedUsers(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public hudson.util.FormValidation doCheckRevisionPropertiesSupported(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||