From 987fecd3f86542e2746deb02cb7bd59ba23d940f Mon Sep 17 00:00:00 2001 From: kohsuke Date: Sat, 24 Jan 2009 07:41:09 +0000 Subject: [PATCH] doc improvement git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14769 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/model/Queue.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/model/Queue.java b/core/src/main/java/hudson/model/Queue.java index 3bae947500..13131a5909 100644 --- a/core/src/main/java/hudson/model/Queue.java +++ b/core/src/main/java/hudson/model/Queue.java @@ -750,7 +750,14 @@ public class Queue extends ResourceController implements Saveable { boolean hasAbortPermission(); /** - * The relative url for this task + * Returns the URL of this task relative to the context root of the application. + * + *

+ * When the user clicks an item in the queue, this is the page where the user is taken to. + * Hudson expects the current instance to be bound to the URL returned by this method. + * + * @return + * URL that ends with '/'. */ String getUrl();