Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-06-20 01:39:45 +0000
committerrelves2007-06-20 01:39:45 +0000
commitfebb2d8a5b93f308b93fb683afa0ddde40f16f07 (patch)
tree4541fdf6087fd7100b68167f6b7e8f34b9976601 /org.eclipse.mylyn.tasks.core
parent6615f8ba6185321af25e9e5553c801f82ac3b889 (diff)
downloadorg.eclipse.mylyn.tasks-febb2d8a5b93f308b93fb683afa0ddde40f16f07.tar.gz
org.eclipse.mylyn.tasks-febb2d8a5b93f308b93fb683afa0ddde40f16f07.tar.xz
org.eclipse.mylyn.tasks-febb2d8a5b93f308b93fb683afa0ddde40f16f07.zip
ASSIGNED - bug 176513: [api] add support for requesting multiple task data in single request
https://bugs.eclipse.org/bugs/show_bug.cgi?id=176513
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskDataHandler.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskDataHandler.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskDataHandler.java
index 14ee283ca..7688ea517 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskDataHandler.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskDataHandler.java
@@ -11,7 +11,6 @@
package org.eclipse.mylyn.tasks.core;
-import java.util.Collections;
import java.util.Set;
import org.eclipse.core.runtime.CoreException;
@@ -25,20 +24,21 @@ public abstract class AbstractTaskDataHandler {
/**
* Download copy of task data from repository
+ *
* @throws CoreException
*/
public abstract RepositoryTaskData getTaskData(TaskRepository repository, String taskId, IProgressMonitor monitor)
throws CoreException;
/**
- * Download task data for each id provided
+ * Download task data for each id provided
*
* Override getMultiTaskData() to return true and implement this method if connector supports download of multiple
* task data in one request.
*/
- public Set<RepositoryTaskData> getMultiTaskData(TaskRepository repository, Set<String> taskIds, IProgressMonitor monitor)
- throws CoreException {
- return Collections.emptySet();
+ public Set<RepositoryTaskData> getMultiTaskData(TaskRepository repository, Set<String> taskIds,
+ IProgressMonitor monitor) throws CoreException {
+ throw new UnsupportedOperationException();
}
/**
@@ -71,8 +71,8 @@ public abstract class AbstractTaskDataHandler {
public abstract Set<String> getSubTaskIds(RepositoryTaskData taskData);
/**
- * @return true if connector support downloading multiple task data in single request, false otherwise.
- * If true, override and implement getMultiTaskData
+ * @return true if connector support downloading multiple task data in single request, false otherwise. If true,
+ * override and implement getMultiTaskData
*/
public boolean canGetMultiTaskData() {
return false;

Back to the top