1
|
package eu.dnetlib.uoamonitorservice.entities;
|
2
|
|
3
|
import java.util.List;
|
4
|
|
5
|
enum IndicatorPathType {
|
6
|
// Do not rename or remove existring values. This may cause problems with already stored values in DB
|
7
|
table, bar, column;
|
8
|
}
|
9
|
|
10
|
public class IndicatorPath {
|
11
|
private IndicatorPathType type; // for charts is type of chart {table, bar, column, etc}
|
12
|
private String source; // for numbers is the service {statistics, search, metrics} for charts is the tool {stats-tool,old,metrics, fake}
|
13
|
private String url;
|
14
|
private List<String> jsonPath;
|
15
|
|
16
|
public IndicatorPathType getType() {
|
17
|
return type;
|
18
|
}
|
19
|
|
20
|
public void setType(IndicatorPathType type) {
|
21
|
this.type = type;
|
22
|
}
|
23
|
|
24
|
public String getSource() {
|
25
|
return source;
|
26
|
}
|
27
|
|
28
|
public void setSource(String source) {
|
29
|
this.source = source;
|
30
|
}
|
31
|
|
32
|
public String getUrl() {
|
33
|
return url;
|
34
|
}
|
35
|
|
36
|
public void setUrl(String url) {
|
37
|
this.url = url;
|
38
|
}
|
39
|
|
40
|
public List<String> getJsonPath() {
|
41
|
return jsonPath;
|
42
|
}
|
43
|
|
44
|
public void setJsonPath(List<String> jsonPath) {
|
45
|
this.jsonPath = jsonPath;
|
46
|
}
|
47
|
}
|