76 lines
1.8 KiB
Java
76 lines
1.8 KiB
Java
package eu.dnetlib.uoamonitorservice.entities;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
enum IndicatorPathType {
|
|
// Do not rename or remove existring values. This may cause problems with already stored values in DB
|
|
table, bar, column, pie, line, image;
|
|
}
|
|
|
|
public class IndicatorPath {
|
|
private IndicatorPathType type; // for charts is type of chart {table, bar, column, etc}
|
|
private String source; // for numbers is the service {statistics, search, metrics} for charts is the tool {stats-tool,old,metrics, fake}
|
|
private String url;
|
|
private List<String> jsonPath;
|
|
private String chartObject;
|
|
private Map<String, String> parameters;
|
|
private Map<String, Map<String, String>> filters;
|
|
|
|
public IndicatorPathType getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(IndicatorPathType type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getSource() {
|
|
return source;
|
|
}
|
|
|
|
public void setSource(String source) {
|
|
this.source = source;
|
|
}
|
|
|
|
public String getUrl() {
|
|
return url;
|
|
}
|
|
|
|
public void setUrl(String url) {
|
|
this.url = url;
|
|
}
|
|
|
|
public List<String> getJsonPath() {
|
|
return jsonPath;
|
|
}
|
|
|
|
public void setJsonPath(List<String> jsonPath) {
|
|
this.jsonPath = jsonPath;
|
|
}
|
|
|
|
public String getChartObject() {
|
|
return chartObject;
|
|
}
|
|
|
|
public void setChartObject(String chartObject) {
|
|
this.chartObject = chartObject;
|
|
}
|
|
|
|
public Map<String, String> getParameters() {
|
|
return parameters;
|
|
}
|
|
|
|
public void setParameters(Map<String, String> parameters) {
|
|
this.parameters = parameters;
|
|
}
|
|
|
|
public Map<String, Map<String, String>> getFilters() {
|
|
return filters;
|
|
}
|
|
|
|
public void setFilters(Map<String, Map<String, String>> filters) {
|
|
this.filters = filters;
|
|
}
|
|
}
|