public interface IJSchLocation
IUserAuthenticator
,
IPasswordStore
Modifier and Type | Field and Description |
---|---|
static int |
USE_DEFAULT_PORT
port value which indicates to a connection method to use the default port
|
Modifier and Type | Method and Description |
---|---|
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
|
static final int USE_DEFAULT_PORT
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()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.