Package zowe.client.sdk.core
Class SshConnection
- java.lang.Object
-
- zowe.client.sdk.core.SshConnection
-
public final class SshConnection extends Object
SSH Connection information placeholder- Version:
- 5.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description SshConnection(String host, int port, String user, String password)SshConnection constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Equals method.StringgetHost()Retrieve host specifiedStringgetPassword()Retrieve password specifiedintgetPort()Retrieve port number specifiedStringgetUser()Retrieve username specifiedinthashCode()Hashcode method.StringtoString()Return string value representing SshConnection object
-
-
-
Constructor Detail
-
SshConnection
public SshConnection(String host, int port, String user, String password)
SshConnection constructor- Parameters:
host- machine host pointing to backend z/OS instanceport- machine host port number pointing to backend z/OS instanceuser- machine host username with access to backend z/OS instancepassword- machine host username's password with access to backend z/OS instance
-
-
Method Detail
-
getHost
public String getHost()
Retrieve host specified- Returns:
- host value
-
getPort
public int getPort()
Retrieve port number specified- Returns:
- port value
-
getUser
public String getUser()
Retrieve username specified- Returns:
- user value
-
getPassword
public String getPassword()
Retrieve password specified- Returns:
- password value
-
toString
public String toString()
Return string value representing SshConnection object
-
equals
public boolean equals(Object obj)
Equals method. Use all members for equality.
-
-