Subversion Repositories XServices

Rev

Rev 30 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
30 brianR 1
/*
2
 *   Mylyn Connector for Serena Business Mashups
3
 * 	 Copyright 2010 Brian Rosenberger (Brutex Network)
4
 *
5
 *   Licensed under the Apache License, Version 2.0 (the "License");
6
 *   you may not use this file except in compliance with the License.
7
 *   You may obtain a copy of the License at
8
 *
9
 *       http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 *   Unless required by applicable law or agreed to in writing, software
12
 *   distributed under the License is distributed on an "AS IS" BASIS,
13
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 *   See the License for the specific language governing permissions and
15
 *   limitations under the License.
16
 *
17
 *   Serena, TeamTrack and Serena Business Mashup are
18
 * 	 registered trademarks of SERENA Software Inc.
19
 */
20
package net.brutex.mylyn.sbmconnector.core;
21
 
22
import java.util.HashSet;
23
import java.util.Set;
24
 
25
import org.eclipse.mylyn.tasks.core.data.TaskData;
26
import org.eclipse.mylyn.tasks.core.data.TaskDataCollector;
27
 
28
public class SBMTaskDataCollector extends TaskDataCollector {
29
 
30
 
31
		final Set<TaskData> taskDataCollected = new HashSet<TaskData>();
32
 
33
		String queryTimestamp = null;
34
 
35
		@Override
36
		public void accept(TaskData taskData) {
37
			taskDataCollected.add(taskData);
38
		}
39
 
40
		public Set<TaskData> getTaskData() {
41
			return taskDataCollected;
42
		}
43
 
44
		public String getQueryTimestamp() {
45
			return queryTimestamp;
46
		}
47
 
48
		public void setQueryTimestamp(String queryTimestamp) {
49
			this.queryTimestamp = queryTimestamp;
50
		}
51
}
52