You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
834 B
Java
36 lines
834 B
Java
package eu.eudat.logic.proxy.config.entities;
|
|
|
|
import eu.eudat.logic.proxy.config.FetchStrategy;
|
|
import eu.eudat.logic.proxy.config.UrlConfiguration;
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
import javax.xml.bind.annotation.XmlElementWrapper;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Created by ikalyvas on 7/9/2018.
|
|
*/
|
|
public class TagUrls {
|
|
List<UrlConfiguration> urls;
|
|
FetchStrategy fetchMode;
|
|
|
|
public List<UrlConfiguration> getUrls() {
|
|
return urls;
|
|
}
|
|
|
|
@XmlElementWrapper
|
|
@XmlElement(name = "urlConfig")
|
|
public void setUrls(List<UrlConfiguration> urls) {
|
|
this.urls = urls;
|
|
}
|
|
|
|
public FetchStrategy getFetchMode() {
|
|
return fetchMode;
|
|
}
|
|
|
|
@XmlElement(name = "fetchMode")
|
|
public void setFetchMode(FetchStrategy fetchMode) {
|
|
this.fetchMode = fetchMode;
|
|
}
|
|
}
|