45 lines
847 B
Java
45 lines
847 B
Java
package eu.dnetlib.loginservice.properties;
|
|
|
|
public class Redis {
|
|
|
|
private String host = "localhost";
|
|
private String port = "6379";
|
|
private String password;
|
|
|
|
public Redis() {
|
|
}
|
|
|
|
public String getHost() {
|
|
return host;
|
|
}
|
|
|
|
public void setHost(String host) {
|
|
this.host = host;
|
|
}
|
|
|
|
public String getPort() {
|
|
return port;
|
|
}
|
|
|
|
public void setPort(String port) {
|
|
this.port = port;
|
|
}
|
|
|
|
public String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
public void setPassword(String password) {
|
|
this.password = password;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Redis{" +
|
|
"host='" + host + '\'' +
|
|
", port='" + port + '\'' +
|
|
", password='" + password + '\'' +
|
|
'}';
|
|
}
|
|
}
|