hudson.scm
类 BlameSubversionSCM.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<hudson.scm.SCM>
hudson.scm.SCMDescriptor<BlameSubversionSCM>
hudson.scm.BlameSubversionSCM.DescriptorImpl
- 所有已实现的接口:
- hudson.model.ModelObject, hudson.model.Saveable
- 包容类:
- BlameSubversionSCM
@Extension
public static class BlameSubversionSCM.DescriptorImpl
- extends hudson.scm.SCMDescriptor<BlameSubversionSCM>
- implements hudson.model.ModelObject
| 从类 hudson.model.Descriptor 继承的嵌套类/接口 |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| 从类 hudson.scm.SCMDescriptor 继承的字段 |
generation, repositoryBrowser |
| 从类 hudson.model.Descriptor 继承的字段 |
clazz |
| 从接口 hudson.model.Saveable 继承的字段 |
NOOP |
|
方法摘要 |
org.tmatesoft.svn.core.SVNNodeKind |
checkRepositoryPath(hudson.model.AbstractProject context,
org.tmatesoft.svn.core.SVNURL repoURL)
validate the value for a remote (repository) location. |
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider |
createAuthenticationProvider()
已过时。 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. |
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(hudson.model.AbstractProject context,
org.tmatesoft.svn.core.SVNURL repoURL)
|
boolean |
isBrowserReusable(BlameSubversionSCM x,
BlameSubversionSCM y)
|
hudson.scm.SCM |
newInstance(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject jsonObject)
|
void |
postCredential(hudson.model.AbstractProject inContextOf,
java.lang.String url,
java.lang.String username,
java.lang.String password,
java.io.File keyFile,
java.io.PrintWriter logWriter)
|
void |
postCredential(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.io.File keyFile,
java.io.PrintWriter logWriter)
已过时。 as of 1.18 Use
postCredential(AbstractProject, String, String, String, File, PrintWriter) |
void |
postCredential(java.lang.String url,
UserProvidedCredential upc,
java.io.PrintWriter logWriter)
Submits the authentication info. |
| 从类 hudson.scm.SCMDescriptor 继承的方法 |
getBrowserDescriptors, isApplicable, load |
| 从类 hudson.model.Descriptor 继承的方法 |
calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlameSubversionSCM.DescriptorImpl
public BlameSubversionSCM.DescriptorImpl()
BlameSubversionSCM.DescriptorImpl
protected BlameSubversionSCM.DescriptorImpl(java.lang.Class clazz,
java.lang.Class<? extends hudson.scm.RepositoryBrowser> repositoryBrowser)
newInstance
public hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject jsonObject)
throws hudson.model.Descriptor.FormException
- 覆盖:
- 类
hudson.model.Descriptor<hudson.scm.SCM> 中的 newInstance
- 抛出:
hudson.model.Descriptor.FormException
getDisplayName
public java.lang.String getDisplayName()
- 指定者:
- 接口
hudson.model.ModelObject 中的 getDisplayName - 指定者:
- 类
hudson.model.Descriptor<hudson.scm.SCM> 中的 getDisplayName
getGlobalExcludedRevprop
public java.lang.String getGlobalExcludedRevprop()
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- 覆盖:
- 类
hudson.model.Descriptor<hudson.scm.SCM> 中的 configure
- 抛出:
hudson.model.Descriptor.FormException
isBrowserReusable
public boolean isBrowserReusable(BlameSubversionSCM x,
BlameSubversionSCM y)
- 覆盖:
- 类
hudson.scm.SCMDescriptor<BlameSubversionSCM> 中的 isBrowserReusable
createAuthenticationProvider
public org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider createAuthenticationProvider(hudson.model.AbstractProject<?,?> inContextOf)
- Creates
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
BlameSubversionSCM.createSvnClientManager(ISVNAuthenticationProvider)
on the slave.
- 另请参见:
BlameSubversionSCM.createSvnClientManager(ISVNAuthenticationProvider)
createAuthenticationProvider
public org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider createAuthenticationProvider()
- 已过时。 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.
postCredential
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
- 已过时。 as of 1.18 Use
postCredential(AbstractProject, String, String, String, File, PrintWriter)
- 抛出:
org.tmatesoft.svn.core.SVNException
java.io.IOException
postCredential
public void postCredential(hudson.model.AbstractProject inContextOf,
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
postCredential
public void postCredential(java.lang.String url,
UserProvidedCredential upc,
java.io.PrintWriter logWriter)
throws org.tmatesoft.svn.core.SVNException,
java.io.IOException
- Submits the authentication info.
This code is fairly ugly because of the way SVNKit handles
credentials.
- 抛出:
org.tmatesoft.svn.core.SVNException
java.io.IOException
checkRepositoryPath
public org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(hudson.model.AbstractProject context,
org.tmatesoft.svn.core.SVNURL repoURL)
throws org.tmatesoft.svn.core.SVNException
- validate the value for a remote (repository) location.
- 抛出:
org.tmatesoft.svn.core.SVNException
getRepository
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
getRelativePath
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
Copyright © 2010. All Rights Reserved.