|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.jnt.ConnectionInfo
public class ConnectionInfo
Represents the parameters needed to establish connection to java.net.
Field Summary | |
---|---|
String |
password
Username and password. |
int |
proxyPort
If proxyServer is non-null, this is the HTTP proxy port number. |
String |
proxyServer
If the access should go through proxy, the HTTP proxy host name. |
String |
userName
Username and password. |
Constructor Summary | |
---|---|
ConnectionInfo()
Creates a connection information by reading the default account file at ~/.java.net |
|
ConnectionInfo(File accountFile)
Creates a connection information by reading the specified parameter file. |
|
ConnectionInfo(String userName,
String password)
|
Method Summary | |
---|---|
static File |
getDefaultAccountFile()
Gets the default ".java.net" config property file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String userName
public String password
public String proxyServer
public int proxyPort
proxyServer
is non-null, this is the HTTP proxy port number.
Constructor Detail |
---|
public ConnectionInfo(String userName, String password)
public ConnectionInfo() throws ProcessingException
ProcessingException
public ConnectionInfo(File accountFile) throws ProcessingException
ProcessingException
Method Detail |
---|
public static File getDefaultAccountFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |