Auth Model => Map
This commit is contained in:
parent
284989f8cd
commit
858b377012
@ -1,25 +0,0 @@
|
|||||||
package com.loafle.overflow.crawler.config;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by root on 17. 4. 13.
|
|
||||||
*/
|
|
||||||
public class Auth {
|
|
||||||
private String user;
|
|
||||||
private String pw;
|
|
||||||
|
|
||||||
public String getUser() {
|
|
||||||
return user;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUser(String user) {
|
|
||||||
this.user = user;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getPw() {
|
|
||||||
return pw;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPw(String pw) {
|
|
||||||
this.pw = pw;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,17 +1,19 @@
|
|||||||
package com.loafle.overflow.crawler.config;
|
package com.loafle.overflow.crawler.config;
|
||||||
|
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by root on 17. 4. 13.
|
* Created by root on 17. 4. 13.
|
||||||
*/
|
*/
|
||||||
public class Target {
|
public class Target {
|
||||||
private Auth auth;
|
private Map<String, Object> auth;
|
||||||
private Connection connection;
|
private Connection connection;
|
||||||
|
|
||||||
public Auth getAuth() {
|
public Map<String, Object> getAuth() {
|
||||||
return auth;
|
return auth;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAuth(Auth auth) {
|
public void setAuth(Map<String, Object> auth) {
|
||||||
this.auth = auth;
|
this.auth = auth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user