32 lines
696 B
Java
32 lines
696 B
Java
package eu.eudat.service.remotefetcher.config.entities;
|
|
|
|
import eu.eudat.service.remotefetcher.criteria.FetchStrategy;
|
|
import eu.eudat.service.remotefetcher.config.UrlConfiguration;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class GeneralUrls extends GenericUrls {
|
|
|
|
List<UrlConfiguration> urls;
|
|
FetchStrategy fetchMode;
|
|
|
|
public GeneralUrls() {
|
|
this.urls = new ArrayList<>();
|
|
}
|
|
|
|
@Override
|
|
public List<UrlConfiguration> getUrls() {
|
|
return urls;
|
|
}
|
|
|
|
@Override
|
|
public FetchStrategy getFetchMode() {
|
|
return fetchMode;
|
|
}
|
|
|
|
public void setFetchMode(FetchStrategy fetchMode) {
|
|
this.fetchMode = fetchMode;
|
|
}
|
|
}
|