hudson.scm
类 UserProvidedCredential

java.lang.Object
  继承者 hudson.scm.UserProvidedCredential
所有已实现的接口:
java.io.Closeable

public class UserProvidedCredential
extends java.lang.Object
implements java.io.Closeable

Represents the SVN authentication credential given by the user via the <enterCredential> form fragment. This is just a value object. Modify: changed by tang

作者:
tang,Kohsuke Kawaguchi

嵌套类摘要
 class UserProvidedCredential.AuthenticationManagerImpl
          ISVNAuthenticationManager that uses the user provided credential.
 
字段摘要
 hudson.model.AbstractProject inContextOf
          If non-null, this credential is submitted primarily to be used with this project.
 
构造方法摘要
UserProvidedCredential(java.lang.String username, java.lang.String password, java.io.File keyFile)
          已过时。 as of 1.18 Use UserProvidedCredential(String, String, File, AbstractProject)
UserProvidedCredential(java.lang.String username, java.lang.String password, java.io.File keyFile, hudson.model.AbstractProject inContextOf)
           
 
方法摘要
 void close()
           
static UserProvidedCredential fromForm(org.kohsuke.stapler.StaplerRequest req, hudson.util.MultipartFormDataParser parser)
          Parses the credential information from a form submission.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

inContextOf

public final hudson.model.AbstractProject inContextOf
If non-null, this credential is submitted primarily to be used with this project. This actually doesn't prevent Hudson from trying it with other projects.

构造方法详细信息

UserProvidedCredential

public UserProvidedCredential(java.lang.String username,
                              java.lang.String password,
                              java.io.File keyFile)
已过时。 as of 1.18 Use UserProvidedCredential(String, String, File, AbstractProject)


UserProvidedCredential

public UserProvidedCredential(java.lang.String username,
                              java.lang.String password,
                              java.io.File keyFile,
                              hudson.model.AbstractProject inContextOf)
方法详细信息

fromForm

public static UserProvidedCredential fromForm(org.kohsuke.stapler.StaplerRequest req,
                                              hudson.util.MultipartFormDataParser parser)
                                       throws java.io.IOException
Parses the credential information from a form submission.

抛出:
java.io.IOException

close

public void close()
           throws java.io.IOException
指定者:
接口 java.io.Closeable 中的 close
抛出:
java.io.IOException


Copyright © 2010. All Rights Reserved.