|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.bc.sftp.connection.SFTPConnectionInfo
public class SFTPConnectionInfo
Holds the SFTP connection parameters given in the service unit / message exchange.
| Constructor Summary | |
|---|---|
SFTPConnectionInfo(java.lang.String server,
java.lang.String port,
SshAuthentication sshAuthentication,
java.lang.String directory,
boolean overwrite)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDirectory()
Accessor on the current working directory. |
java.lang.String |
getKey()
Builds a key identifying this connection. |
int |
getMaxConnection()
|
long |
getMaxIdleTime()
|
int |
getPort()
Accessor on the port used by the SFTP server. |
java.lang.String |
getServer()
Accessor on the host of the SFTP server. |
SshAuthentication |
getSshAuthentication()
Accessor on the authentication used for the connection on the SSH server. |
protected boolean |
isOverwrite()
|
void |
setMaxConnection(int maxConnection)
|
void |
setMaxIdleTime(long maxIdleTime)
|
java.lang.String |
toString()
Returns a String with containing the values stored within an instance of this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SFTPConnectionInfo(java.lang.String server,
java.lang.String port,
SshAuthentication sshAuthentication,
java.lang.String directory,
boolean overwrite)
throws ConfigurationException
ConfigurationException| Method Detail |
|---|
public final java.lang.String getDirectory()
public final java.lang.String getKey()
public int getMaxConnection()
public long getMaxIdleTime()
public final int getPort()
public final java.lang.String getServer()
public final SshAuthentication getSshAuthentication()
public void setMaxConnection(int maxConnection)
public void setMaxIdleTime(long maxIdleTime)
public final java.lang.String toString()
toString in class java.lang.Objectprotected boolean isOverwrite()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||