35 lines
664 B
Java
35 lines
664 B
Java
package proxy.config.entities;
|
|
|
|
import java.util.List;
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
import javax.xml.bind.annotation.XmlElementWrapper;
|
|
|
|
import proxy.config.FetchStrategy;
|
|
import proxy.config.UrlConfig;
|
|
|
|
public class ServiceUrls {
|
|
|
|
List<UrlConfig> urls;
|
|
FetchStrategy fetchMode;
|
|
|
|
public List<UrlConfig> getUrls() {
|
|
return urls;
|
|
}
|
|
@XmlElementWrapper
|
|
@XmlElement(name = "urlConfig")
|
|
public void setUrls(List<UrlConfig> urls) {
|
|
this.urls = urls;
|
|
}
|
|
public FetchStrategy getFetchMode() {
|
|
return fetchMode;
|
|
}
|
|
@XmlElement(name = "fetchMode")
|
|
public void setFetchMode(FetchStrategy fetchMode) {
|
|
this.fetchMode = fetchMode;
|
|
}
|
|
|
|
|
|
|
|
}
|