summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Ringle2011-08-07 21:28:07 (EDT)
committer Kevin Sawicki2011-08-07 21:28:07 (EDT)
commit1feda7aab7d3dd1ce4c1fc8c12cba5cc20645cf2 (patch)
tree467058e1b15fe95c1e9fa2aa617c9b1eef873122
parentd44aa81f1a4f3ef995882a4001bf40c6fe81981f (diff)
downloadegit-github-1feda7aab7d3dd1ce4c1fc8c12cba5cc20645cf2.zip
egit-github-1feda7aab7d3dd1ce4c1fc8c12cba5cc20645cf2.tar.gz
egit-github-1feda7aab7d3dd1ce4c1fc8c12cba5cc20645cf2.tar.bz2
Add homepage field to repository modelrefs/changes/70/3970/2
Change-Id: I4d9e76478ea1b687b32cb209dd80b84aad66b9f4 Signed-off-by: Eddie Ringle <eddie@eringle.net> Signed-off-by: Kevin Sawicki <kevin@github.com>
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java
index d7d3cdf..9ea0d98 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java
@@ -125,6 +125,8 @@ public class Repository implements IRepositoryIdProvider {
private String description;
+ private String homepage;
+
private String gitUrl;
private String htmlUrl;
@@ -384,6 +386,22 @@ public class Repository implements IRepositoryIdProvider {
}
/**
+ * @return homepage
+ */
+ public String getHomepage() {
+ return homepage;
+ }
+
+ /**
+ * @param homepage
+ * @return this repository
+ */
+ public Repository setHomepage(String homepage) {
+ this.homepage = homepage;
+ return this;
+ }
+
+ /**
* @return gitUrl
*/
public String getGitUrl() {