|
||||||||||
| 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. |
static class |
SubversionSCM.DescriptorImpl.PasswordCredential
Deprecated. left for backward compatibility. |
static class |
SubversionSCM.DescriptorImpl.SshPublicKeyCredential
Deprecated. left for backward compatibility. |
static class |
SubversionSCM.DescriptorImpl.SslClientCertificateCredential
Deprecated. left for backward compatibility. |
| 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(Class clazz,
Class<? extends hudson.scm.RepositoryBrowser> repositoryBrowser)
|
| Method Summary | |
|---|---|
org.tmatesoft.svn.core.SVNNodeKind |
checkRepositoryPath(hudson.model.AbstractProject context,
org.tmatesoft.svn.core.SVNURL repoURL)
|
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)
Creates ISVNAuthenticationProvider backed by credentials. |
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 |
doCheckLocal(String value)
Validates the value for a local location (local checkout directory). |
hudson.util.FormValidation |
doCheckRemote(org.kohsuke.stapler.StaplerRequest req,
hudson.model.AbstractProject context,
String value)
Validates the value for a remote (repository) location. |
hudson.util.FormValidation |
doCheckRevisionPropertiesSupported(hudson.model.AbstractProject context,
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. |
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)
|
SubversionSCM.RevisionPolicy[] |
getRevisionOptions()
Returns available choose for revision policy option. |
SubversionSCM.RevisionPolicy |
getRevisionPolicy()
Returns revision policy. |
int |
getWorkspaceFormat()
|
List<WorkspaceUpdaterDescriptor> |
getWorkspaceUpdaterDescriptors()
|
boolean |
isBrowserReusable(SubversionSCM x,
SubversionSCM y)
|
boolean |
isValidateRemoteUpToVar()
|
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. as of 1.18 Use postCredential(AbstractProject, String, String, String, File, PrintWriter) |
void |
postCredential(String url,
UserProvidedCredential upc,
PrintWriter logWriter)
Submits the authentication info. |
| Methods inherited from class hudson.scm.SCMDescriptor |
|---|
getBrowserDescriptors, getGeneration, isApplicable, load |
| Methods inherited from class hudson.model.Descriptor |
|---|
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, 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(Class clazz,
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 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()
@Exported public SubversionSCM.RevisionPolicy[] getRevisionOptions()
public SubversionSCM.RevisionPolicy getRevisionPolicy()
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.FormException
public boolean isBrowserReusable(SubversionSCM x,
SubversionSCM y)
isBrowserReusable in class hudson.scm.SCMDescriptor<SubversionSCM>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.
SubversionSCM.createSvnClientManager(ISVNAuthenticationProvider)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
IOException
javax.servlet.ServletException
public 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.SVNException
IOException
public 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.SVNException
IOException
public void postCredential(String url,
UserProvidedCredential upc,
PrintWriter logWriter)
throws org.tmatesoft.svn.core.SVNException,
IOException
org.tmatesoft.svn.core.SVNException
IOException
public hudson.util.FormValidation doCheckRemote(org.kohsuke.stapler.StaplerRequest req,
@AncestorInPath
hudson.model.AbstractProject context,
@QueryParameter
String value)
req - StaplerRequest.context - AbstractProject.value - value to validate.
FormValidation.
public org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(hudson.model.AbstractProject context,
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(hudson.model.AbstractProject context,
org.tmatesoft.svn.core.SVNURL repoURL)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException
public 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.SVNException
public hudson.util.FormValidation doCheckLocal(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - value to validate.
FormValidation.
IOException - IOException.
javax.servlet.ServletException - ServletException.
public hudson.util.FormValidation doCheckExcludedRegions(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - value to validate.
FormValidation.
IOException - IOException.
javax.servlet.ServletException - ServletException.
public hudson.util.FormValidation doCheckIncludedRegions(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - value to validate.
FormValidation.
IOException - IOException.
javax.servlet.ServletException - ServletException.
public hudson.util.FormValidation doCheckExcludedUsers(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - value to validate.
FormValidation.
IOException - IOException.
javax.servlet.ServletException - ServletException.public List<WorkspaceUpdaterDescriptor> getWorkspaceUpdaterDescriptors()
public hudson.util.FormValidation doCheckExcludedCommitMessages(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - value to validate.
FormValidation.
IOException - IOException.
javax.servlet.ServletException - ServletException.
public hudson.util.FormValidation doCheckRevisionPropertiesSupported(@AncestorInPath
hudson.model.AbstractProject context,
@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
context - AbstractProject.value - value to validate.
FormValidation.
IOException - IOException.
javax.servlet.ServletException - ServletException.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||