Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-07-30 20:49:27 +0000
committerspingel2010-07-30 20:49:27 +0000
commit038356266290d026205bedfd80b0169f2edb0d8f (patch)
tree1541931c5c39dd4e09c739a37f26f58788c74d01
parent166501bbb33df5298f0e9cb888a64bcfd30dde84 (diff)
downloadorg.eclipse.mylyn.tasks-038356266290d026205bedfd80b0169f2edb0d8f.tar.gz
org.eclipse.mylyn.tasks-038356266290d026205bedfd80b0169f2edb0d8f.tar.xz
org.eclipse.mylyn.tasks-038356266290d026205bedfd80b0169f2edb0d8f.zip
NEW - bug 316253: [api] provide access to instance of IRepositoryManager through core API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=316253
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java
index 51a8fc765..bc2e7333c 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java
@@ -153,9 +153,13 @@ public abstract class AbstractRepositoryConnector {
}
/**
+ * Returns the ID for the task that is referenced by <code>taskUrl</code>. If the ID can not be determined
+ * <code>null</code> may be returned.
+ *
+ * @return the ID of the task referenced by taskUrl; null, if the ID can not be determined
* @since 2.0
*/
- public abstract String getTaskIdFromTaskUrl(String taskFullUrl);
+ public abstract String getTaskIdFromTaskUrl(String taskUrl);
/**
* Used for referring to the task in the UI.
@@ -188,6 +192,10 @@ public abstract class AbstractRepositoryConnector {
}
/**
+ * Returns the URL for the task that corresponds to <code>taskId</code>. If the URL can not be constructed
+ * <code>null</code> may be returned.
+ *
+ * @return the URL of the task; null, if the URL can not be determined
* @since 2.0
*/
public abstract String getTaskUrl(String repositoryUrl, String taskId);

Back to the top