mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
@@ -43,6 +43,11 @@ public class Feed {
|
||||
this(url, blogId, title, description, author, added, 0L, 0L);
|
||||
}
|
||||
|
||||
public Feed(String url, GroupId blogId, long added) {
|
||||
|
||||
this(url, blogId, null, null, null, added, 0L, 0L);
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
@@ -1,13 +1,20 @@
|
||||
package org.briarproject.api.feed;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import static java.util.concurrent.TimeUnit.MINUTES;
|
||||
|
||||
public interface FeedConstants {
|
||||
|
||||
/* delay after start before fetching feed, in minutes */
|
||||
/* delay after start before fetching feed */
|
||||
int FETCH_DELAY_INITIAL = 1;
|
||||
|
||||
/* the interval the feed should be fetched, in minutes */
|
||||
/* the interval the feed should be fetched */
|
||||
int FETCH_INTERVAL = 30;
|
||||
|
||||
/* the unit that applies to the fetch times */
|
||||
TimeUnit FETCH_UNIT = MINUTES;
|
||||
|
||||
// group metadata keys
|
||||
String KEY_FEEDS = "feeds";
|
||||
String KEY_FEED_URL = "feedURL";
|
||||
|
||||
Reference in New Issue
Block a user