|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJSchLocation
This interface provides access to the specific portions of the location string for use by ssh2 connection and the user authenticator. This interface is not intended to be implemented by clients.
IUserAuthenticator
,
IPasswordStore
Field Summary | |
---|---|
static int |
USE_DEFAULT_PORT
port value which indicates to a connection method to use the default port |
Method Summary | |
---|---|
String |
getComment()
Return the comment |
String |
getHost()
Returns the host where the repository is located |
String |
getPassword()
Return the password |
IPasswordStore |
getPasswordStore()
Return the password store. |
int |
getPort()
Returns the port to connect to or USE_DEFAULT_PORT if the connection method is to use its default port. |
String |
getUsername()
Return the user name |
void |
setComment(String comment)
Sets the comment for this location. |
void |
setPassword(String password)
Sets the user password used for this location |
void |
setPasswordStore(IPasswordStore store)
Sets the password store used for this location |
void |
setUsername(String username)
Sets the user information used for this location |
Field Detail |
---|
static final int USE_DEFAULT_PORT
Method Detail |
---|
String getHost()
int getPort()
void setUsername(String username)
username
- user nameString getUsername()
void setPassword(String password)
password
- passwordString getPassword()
void setComment(String comment)
comment
- String getComment()
void setPasswordStore(IPasswordStore store)
store
- password storeIPasswordStore getPasswordStore()
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.