Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2009-08-20 20:35:44 +0000
committerfbecker2009-08-20 20:35:44 +0000
commit95a6fdc104318ce2ab705c3f0441c0a9e2d4deb1 (patch)
treefce629c81fac62c50830bc0457c8110f6a3f3800 /org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataCollector.java
parent571e982e064d6ce802714972682c2976c3541583 (diff)
downloadorg.eclipse.mylyn.tasks-95a6fdc104318ce2ab705c3f0441c0a9e2d4deb1.tar.gz
org.eclipse.mylyn.tasks-95a6fdc104318ce2ab705c3f0441c0a9e2d4deb1.tar.xz
org.eclipse.mylyn.tasks-95a6fdc104318ce2ab705c3f0441c0a9e2d4deb1.zip
ASSIGNED - bug 280337: use query execution timestamp from rdf as query update time
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280337
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataCollector.java')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataCollector.java45
1 files changed, 45 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataCollector.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataCollector.java
new file mode 100644
index 000000000..dad6cf096
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataCollector.java
@@ -0,0 +1,45 @@
+/*******************************************************************************
+ * Copyright (c) 2009 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Tasktop Technologies - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.mylyn.internal.bugzilla.core;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.mylyn.tasks.core.data.TaskData;
+import org.eclipse.mylyn.tasks.core.data.TaskDataCollector;
+
+/**
+ * @author Robert Elves
+ */
+public class BugzillaTaskDataCollector extends TaskDataCollector {
+
+ final Set<TaskData> taskDataCollected = new HashSet<TaskData>();
+
+ String queryTimestamp = null;
+
+ @Override
+ public void accept(TaskData taskData) {
+ taskDataCollected.add(taskData);
+ }
+
+ public Set<TaskData> getTaskData() {
+ return taskDataCollected;
+ }
+
+ public String getQueryTimestamp() {
+ return queryTimestamp;
+ }
+
+ public void setQueryTimestamp(String queryTimestamp) {
+ this.queryTimestamp = queryTimestamp;
+ }
+}

Back to the top