use of com.gitblit.models.FeedModel in project gitblit by gitblit.
the class GitblitClient method getLastFeedRefresh.
public Date getLastFeedRefresh(String repository, String branch) {
FeedModel feed = new FeedModel();
feed.repository = repository;
feed.branch = branch;
if (reg.feeds.contains(feed)) {
int idx = reg.feeds.indexOf(feed);
feed = reg.feeds.get(idx);
return feed.lastRefreshDate;
}
return NEVER;
}
Aggregations