2018-06-27 12:29:21 +02:00
|
|
|
package eu.eudat.logic.proxy.config.entities;
|
2017-11-20 18:01:19 +01:00
|
|
|
|
2018-06-27 12:29:21 +02:00
|
|
|
import eu.eudat.logic.proxy.config.FetchStrategy;
|
2018-06-29 10:29:43 +02:00
|
|
|
import eu.eudat.logic.proxy.config.UrlConfiguration;
|
2017-11-20 18:01:19 +01:00
|
|
|
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
|
|
import javax.xml.bind.annotation.XmlElementWrapper;
|
2018-02-16 11:34:02 +01:00
|
|
|
import java.util.List;
|
2017-11-20 18:01:19 +01:00
|
|
|
|
2021-12-10 14:37:39 +01:00
|
|
|
public class RepositoryUrls extends GenericUrls{
|
2017-11-20 18:01:19 +01:00
|
|
|
|
2018-06-29 10:29:43 +02:00
|
|
|
List<UrlConfiguration> urls;
|
2018-02-16 11:34:02 +01:00
|
|
|
FetchStrategy fetchMode;
|
|
|
|
|
2018-06-29 10:29:43 +02:00
|
|
|
public List<UrlConfiguration> getUrls() {
|
2018-02-16 11:34:02 +01:00
|
|
|
return urls;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElementWrapper
|
|
|
|
@XmlElement(name = "urlConfig")
|
2018-06-29 10:29:43 +02:00
|
|
|
public void setUrls(List<UrlConfiguration> urls) {
|
2018-02-16 11:34:02 +01:00
|
|
|
this.urls = urls;
|
|
|
|
}
|
|
|
|
|
|
|
|
public FetchStrategy getFetchMode() {
|
|
|
|
return fetchMode;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "fetchMode")
|
|
|
|
public void setFetchMode(FetchStrategy fetchMode) {
|
|
|
|
this.fetchMode = fetchMode;
|
|
|
|
}
|
|
|
|
|
2017-11-20 18:01:19 +01:00
|
|
|
}
|