diff --git a/core/src/main/java/hudson/model/Queue.java b/core/src/main/java/hudson/model/Queue.java index 6c5f4678b6..1ca6f1c45f 100644 --- a/core/src/main/java/hudson/model/Queue.java +++ b/core/src/main/java/hudson/model/Queue.java @@ -1505,12 +1505,16 @@ public class Queue extends ResourceController implements Saveable { */ @ExportedBean(defaultVisibility = 999) public static abstract class Item extends Actionable { - /** - * VM-wide unique ID that tracks the {@link Task} as it moves through different stages - * in the queue (each represented by different subtypes of {@link Item}. - */ - private final long id; + private final long id; + + /** + * Unique ID (per master) that tracks the {@link Task} as it moves through different stages + * in the queue (each represented by different subtypes of {@link Item} and into any subsequent + * {@link Run} instance (see {@link Run#getQueueId()}). + * @return + * @since TODO + */ @Exported public long getId() { return id; diff --git a/core/src/main/java/hudson/model/Run.java b/core/src/main/java/hudson/model/Run.java index 70189a8854..a45f8aeabb 100644 --- a/core/src/main/java/hudson/model/Run.java +++ b/core/src/main/java/hudson/model/Run.java @@ -139,6 +139,7 @@ public abstract class Run ,RunT extends Run,RunT extends Run,RunT extends Run * Mapped from the {@link Queue.Item#getId()}. * @param queueId The queue item ID. - * @since TODO */ @Restricted(NoExternalUse.class) public void setQueueId(long queueId) {