initial
This commit is contained in:
commit
b8e528dfff
5 changed files with 383 additions and 0 deletions
40
Server.java
Normal file
40
Server.java
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package handleSsh;
|
||||
|
||||
public class Server {
|
||||
private String host;
|
||||
private String username;
|
||||
private String password;
|
||||
private String path;
|
||||
private int port;
|
||||
|
||||
public Server(String host, String username, String password, String path, int port) {
|
||||
this.host = host;
|
||||
this.username = username;
|
||||
this.password = password;
|
||||
this.path = path;
|
||||
this.port = port;
|
||||
}
|
||||
|
||||
public String getHost() {
|
||||
return host;
|
||||
}
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
public int getPort() {
|
||||
return port;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Server{" +
|
||||
"host='" + host + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue