2019-09-27 13:29:40 +02:00
|
|
|
package eu.dnetlib.repo.manager.domain;
|
|
|
|
|
2024-03-22 10:51:22 +01:00
|
|
|
import eu.dnetlib.openaire.exporter.model.dsm.AggregationInfo;
|
|
|
|
|
2019-09-27 13:29:40 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public class CollectionMonitorSummary {
|
2022-12-01 17:37:03 +01:00
|
|
|
private List<AggregationInfo> aggregationInfo;
|
2019-09-27 13:29:40 +02:00
|
|
|
|
2022-11-30 19:58:08 +01:00
|
|
|
private AggregationInfo lastIndexedVersion;
|
2019-09-27 13:29:40 +02:00
|
|
|
|
|
|
|
public CollectionMonitorSummary(){}
|
|
|
|
|
2022-12-01 17:37:03 +01:00
|
|
|
public CollectionMonitorSummary(List<AggregationInfo> aggregationInfo, AggregationInfo lastIndexedVersion) {
|
|
|
|
this.aggregationInfo = aggregationInfo;
|
2019-09-27 13:29:40 +02:00
|
|
|
this.lastIndexedVersion = lastIndexedVersion;
|
|
|
|
}
|
|
|
|
|
2022-12-01 17:37:03 +01:00
|
|
|
public List<AggregationInfo> getAggregationInfo() {
|
|
|
|
return aggregationInfo;
|
2019-09-27 13:29:40 +02:00
|
|
|
}
|
|
|
|
|
2022-12-01 17:37:03 +01:00
|
|
|
public void setAggregationInfo(List<AggregationInfo> aggregationInfo) {
|
|
|
|
this.aggregationInfo = aggregationInfo;
|
2019-09-27 13:29:40 +02:00
|
|
|
}
|
|
|
|
|
2022-11-30 19:58:08 +01:00
|
|
|
public AggregationInfo getLastIndexedVersion() {
|
2019-09-27 13:29:40 +02:00
|
|
|
return lastIndexedVersion;
|
|
|
|
}
|
|
|
|
|
2022-11-30 19:58:08 +01:00
|
|
|
public void setLastIndexedVersion(AggregationInfo lastIndexedVersion) {
|
2019-09-27 13:29:40 +02:00
|
|
|
this.lastIndexedVersion = lastIndexedVersion;
|
|
|
|
}
|
|
|
|
}
|