add item, query
This commit is contained in:
parent
858b377012
commit
9f1ea2fa8e
|
@ -1,7 +1,28 @@
|
|||
package com.loafle.overflow.crawler.config;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by root on 17. 4. 13.
|
||||
*/
|
||||
public class Item {
|
||||
|
||||
List<String> metrics;
|
||||
List<Query> queries;
|
||||
|
||||
public List<String> getMetrics() {
|
||||
return metrics;
|
||||
}
|
||||
|
||||
public void setMetrics(List<String> metrics) {
|
||||
this.metrics = metrics;
|
||||
}
|
||||
|
||||
public List<Query> getQueries() {
|
||||
return queries;
|
||||
}
|
||||
|
||||
public void setQueries(List<Query> queries) {
|
||||
this.queries = queries;
|
||||
}
|
||||
}
|
||||
|
|
28
src/main/java/com/loafle/overflow/crawler/config/Query.java
Normal file
28
src/main/java/com/loafle/overflow/crawler/config/Query.java
Normal file
|
@ -0,0 +1,28 @@
|
|||
package com.loafle.overflow.crawler.config;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 2017-04-21.
|
||||
*/
|
||||
public class Query {
|
||||
|
||||
String query;
|
||||
List<String> keys;
|
||||
|
||||
public String getQuery() {
|
||||
return query;
|
||||
}
|
||||
|
||||
public void setQuery(String query) {
|
||||
this.query = query;
|
||||
}
|
||||
|
||||
public List<String> getKeys() {
|
||||
return keys;
|
||||
}
|
||||
|
||||
public void setKeys(List<String> keys) {
|
||||
this.keys = keys;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user