|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.utwente.ewi.hmi.taverna.scuflworkers.rshell.RshellConnectionSettings
public class RshellConnectionSettings
Class containing the connection settings
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_HOST
|
static int |
DEFAULT_PORT
|
| Constructor Summary | |
|---|---|
RshellConnectionSettings()
Constructor of the rshell connection settings |
|
RshellConnectionSettings(java.lang.String host,
int port,
java.lang.String username,
java.lang.String Password)
Constructor of the rshell connection settings |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object anObject)
Method for overriding the equals method Two connections settings are equal, if all their settings are equal (host, port, username, password and keep session alive) |
java.lang.String |
getHost()
Method for getting the host |
java.lang.String |
getPassword()
Method for getting the password |
int |
getPort()
Method for getting the port number |
java.lang.String |
getUsername()
Method for getting the username |
int |
hashCode()
Method overriding the hashcode function |
boolean |
isKeepSessionAlive()
Method for getting the keep session alive setting |
void |
setHost(java.lang.String host)
Method for setting the host |
void |
setKeepSessionAlive(boolean keepSessionAlive)
Method for setting the keep session alive |
void |
setKeepSessionAlive(java.lang.String keepSessionAlive)
Method for setting the keep session alive |
void |
setPassword(java.lang.String password)
Method for setting the password |
void |
setPort(int port)
Method for setting the port value |
void |
setPort(java.lang.String port)
Method for setting the port value |
void |
setUsername(java.lang.String username)
Method for setting the username |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_HOST
public static final int DEFAULT_PORT
| Constructor Detail |
|---|
public RshellConnectionSettings()
public RshellConnectionSettings(java.lang.String host,
int port,
java.lang.String username,
java.lang.String Password)
host - the host nameport - the port numberusername - the usernamepassword - the password| Method Detail |
|---|
public java.lang.String getHost()
public void setHost(java.lang.String host)
host - the new host valuepublic int getPort()
public void setPort(int port)
port - the new port valuepublic void setPort(java.lang.String port)
port - the new port valuepublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - the new usernamepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the new passwordpublic boolean isKeepSessionAlive()
public void setKeepSessionAlive(boolean keepSessionAlive)
keepSessionAlive - the new valuepublic void setKeepSessionAlive(java.lang.String keepSessionAlive)
keepSessionAlive - the new valuepublic boolean equals(java.lang.Object anObject)
equals in class java.lang.ObjectanObject - the object to compare to
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||