| | |
| | |
|
| | | public String repository;
|
| | | public String branch;
|
| | | public Date lastRefresh;
|
| | | public Date lastRefreshDate;
|
| | | public Date currentRefreshDate;
|
| | |
|
| | | public boolean subscribed;
|
| | |
|
| | |
| | |
|
| | | public FeedModel(String definition) {
|
| | | subscribed = true;
|
| | | lastRefresh = new Date(0);
|
| | | lastRefreshDate = new Date(0);
|
| | | currentRefreshDate = new Date(0);
|
| | |
|
| | | String[] fields = definition.split(":");
|
| | | repository = fields[0];
|
| | |
| | |
|
| | | @Override
|
| | | public int hashCode() {
|
| | | return (repository + (StringUtils.isEmpty(branch) ? "" : branch)).toLowerCase().hashCode();
|
| | | return toString().toLowerCase().hashCode();
|
| | | }
|
| | |
|
| | | @Override
|