Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/client/GerritSystemInfo.java')
-rw-r--r--org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/client/GerritSystemInfo.java13
1 files changed, 11 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/client/GerritSystemInfo.java b/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/client/GerritSystemInfo.java
index 421339733..11810ba50 100644
--- a/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/client/GerritSystemInfo.java
+++ b/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/client/GerritSystemInfo.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010 Tasktop Technologies and others.
+ * Copyright (c) 2010, 2013 Tasktop Technologies and others.
* 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
@@ -13,6 +13,8 @@ package org.eclipse.mylyn.internal.gerrit.core.client;
import java.util.List;
+import org.osgi.framework.Version;
+
import com.google.gerrit.reviewdb.Account;
import com.google.gerrit.reviewdb.ContributorAgreement;
@@ -21,15 +23,22 @@ import com.google.gerrit.reviewdb.ContributorAgreement;
*/
public class GerritSystemInfo {
+ private final Version version;
+
private final Account account;
private final List<ContributorAgreement> contributorAgreements;
- public GerritSystemInfo(List<ContributorAgreement> contributorAgreements, Account account) {
+ public GerritSystemInfo(Version version, List<ContributorAgreement> contributorAgreements, Account account) {
+ this.version = version;
this.contributorAgreements = contributorAgreements;
this.account = account;
}
+ public Version getVersion() {
+ return version;
+ }
+
public List<ContributorAgreement> getContributorAgreements() {
return contributorAgreements;
}

Back to the top