add item, query

This commit is contained in:
snoop 2017-04-21 12:34:44 +09:00
parent 858b377012
commit 9f1ea2fa8e
2 changed files with 49 additions and 0 deletions

View File

@ -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;
}
}

View 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;
}
}