hudson.scm
クラス SubversionSCM.DescriptorImpl

java.lang.Object
  上位を拡張 hudson.model.Descriptor<hudson.scm.SCM>
      上位を拡張 hudson.scm.SCMDescriptor<SubversionSCM>
          上位を拡張 hudson.scm.SubversionSCM.DescriptorImpl
すべての実装されたインタフェース:
hudson.model.ModelObject, hudson.model.Saveable
含まれているクラス:
SubversionSCM

@Extension
public static class SubversionSCM.DescriptorImpl
extends hudson.scm.SCMDescriptor<SubversionSCM>
implements hudson.model.ModelObject


入れ子のクラスの概要
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
          Publickey authentication for Subversion over SSH.
static class SubversionSCM.DescriptorImpl.SslClientCertificateCredential
          SSL client certificate based authentication.
 
クラス hudson.model.Descriptor から継承された入れ子のクラス/インタフェース
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
フィールドの概要
 
クラス hudson.scm.SCMDescriptor から継承されたフィールド
generation, repositoryBrowser
 
クラス hudson.model.Descriptor から継承されたフィールド
clazz
 
インタフェース hudson.model.Saveable から継承されたフィールド
NOOP
 
コンストラクタの概要
  SubversionSCM.DescriptorImpl()
           
protected SubversionSCM.DescriptorImpl(java.lang.Class clazz, java.lang.Class<? extends hudson.scm.RepositoryBrowser> repositoryBrowser)
           
 
メソッドの概要
 org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(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()
          Creates ISVNAuthenticationProvider backed by credentials.
 hudson.util.FormValidation doCheckExcludedCommitMessages(java.lang.String value)
          Validates the excludeCommitMessages field
 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 doCheckIncludedRegions(java.lang.String value)
          Validates the includedRegions Regex
 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)
           
 boolean isBrowserReusable(SubversionSCM x, SubversionSCM y)
           
 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)
           
 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
 

コンストラクタの詳細

SubversionSCM.DescriptorImpl

public SubversionSCM.DescriptorImpl()

SubversionSCM.DescriptorImpl

protected SubversionSCM.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(SubversionSCM x,
                                 SubversionSCM y)
オーバーライド:
クラス hudson.scm.SCMDescriptor<SubversionSCM> 内の isBrowserReusable

createAuthenticationProvider

public org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider createAuthenticationProvider()
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 SubversionSCM.createSvnClientManager(ISVNAuthenticationProvider) on the slave.

関連項目:
SubversionSCM.createSvnClientManager(ISVNAuthenticationProvider)

doPostCredential

public void doPostCredential(org.kohsuke.stapler.StaplerRequest req,
                             org.kohsuke.stapler.StaplerResponse rsp)
                      throws java.io.IOException,
                             javax.servlet.ServletException
Submits the authentication info.

例外:
java.io.IOException
javax.servlet.ServletException

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
例外:
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

doCheckRemote

public hudson.util.FormValidation doCheckRemote(org.kohsuke.stapler.StaplerRequest req,
                                                @QueryParameter
                                                java.lang.String value)
validate the value for a remote (repository) location.


checkRepositoryPath

public org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(org.tmatesoft.svn.core.SVNURL repoURL)
                                                       throws org.tmatesoft.svn.core.SVNException
例外:
org.tmatesoft.svn.core.SVNException

getRepository

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

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

doCheckLocal

public hudson.util.FormValidation doCheckLocal(@QueryParameter
                                               java.lang.String value)
                                        throws java.io.IOException,
                                               javax.servlet.ServletException
validate the value for a local location (local checkout directory).

例外:
java.io.IOException
javax.servlet.ServletException

doCheckExcludedRegions

public hudson.util.FormValidation doCheckExcludedRegions(@QueryParameter
                                                         java.lang.String value)
                                                  throws java.io.IOException,
                                                         javax.servlet.ServletException
Validates the excludeRegions Regex

例外:
java.io.IOException
javax.servlet.ServletException

doCheckIncludedRegions

public hudson.util.FormValidation doCheckIncludedRegions(@QueryParameter
                                                         java.lang.String value)
                                                  throws java.io.IOException,
                                                         javax.servlet.ServletException
Validates the includedRegions Regex

例外:
java.io.IOException
javax.servlet.ServletException

doCheckExcludedUsers

public hudson.util.FormValidation doCheckExcludedUsers(@QueryParameter
                                                       java.lang.String value)
                                                throws java.io.IOException,
                                                       javax.servlet.ServletException
Validates the excludeUsers field

例外:
java.io.IOException
javax.servlet.ServletException

doCheckExcludedCommitMessages

public hudson.util.FormValidation doCheckExcludedCommitMessages(@QueryParameter
                                                                java.lang.String value)
                                                         throws java.io.IOException,
                                                                javax.servlet.ServletException
Validates the excludeCommitMessages field

例外:
java.io.IOException
javax.servlet.ServletException

doCheckRevisionPropertiesSupported

public hudson.util.FormValidation doCheckRevisionPropertiesSupported(@QueryParameter
                                                                     java.lang.String value)
                                                              throws java.io.IOException,
                                                                     javax.servlet.ServletException
Validates the remote server supports custom revision properties

例外:
java.io.IOException
javax.servlet.ServletException


Copyright © 2010. All Rights Reserved.