diff options
author | Kevin Sawicki | 2011-04-27 15:59:46 -0400 |
---|---|---|
committer | Kevin Sawicki | 2011-04-27 15:59:46 -0400 |
commit | 90e025e60e54d9578e13289f2575d9d7b1876d9a (patch) | |
tree | 3e7e37f47a2795f41487f3f59cc0a1b1384efaac | |
parent | 89e6e655530b83dfeae60bc2f479979f12bd3a80 (diff) | |
download | egit-github-90e025e60e54d9578e13289f2575d9d7b1876d9a.zip egit-github-90e025e60e54d9578e13289f2575d9d7b1876d9a.tar.gz egit-github-90e025e60e54d9578e13289f2575d9d7b1876d9a.tar.xz |
Add pull request marker model class.
Change-Id: I6db71e637027fb4fe365c6a9bac937829a3dc36a
Signed-off-by: Kevin Sawicki <kevin@github.com>
-rw-r--r-- | org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/PullRequestMarker.java | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/PullRequestMarker.java b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/PullRequestMarker.java new file mode 100644 index 0000000..cd378fc --- /dev/null +++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/PullRequestMarker.java @@ -0,0 +1,61 @@ +/******************************************************************************* + * Copyright (c) 2011 GitHub Inc. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Kevin Sawicki (GitHub Inc.) - initial API and implementation + *******************************************************************************/ +package org.eclipse.mylyn.github.internal; + +/** + * Pull request marker model class. + */ +public class PullRequestMarker { + + private Repository repository; + + private String label; + private String ref; + private String sha; + + private User user; + + /** + * @return repository + */ + public Repository getRepository() { + return this.repository; + } + + /** + * @return label + */ + public String getLabel() { + return this.label; + } + + /** + * @return ref + */ + public String getRef() { + return this.ref; + } + + /** + * @return sha + */ + public String getSha() { + return this.sha; + } + + /** + * @return user + */ + public User getUser() { + return this.user; + } + +} |