diff --git a/core/src/main/java/hudson/model/Executor.java b/core/src/main/java/hudson/model/Executor.java index 2b187762e3ede51e4b2a6e1de907d04f9a3acc2f..6b8d5bf89a3234b4a376e266056756809eef59f3 100644 --- a/core/src/main/java/hudson/model/Executor.java +++ b/core/src/main/java/hudson/model/Executor.java @@ -587,10 +587,15 @@ public class Executor extends Thread implements ModelObject { } /** - * Returns {@code true} if the {@code executorCell.jelly} for this {@link Executor} should be visible. + * If this executor is running an {@link AsynchronousExecution} and that execution wants to hide the display + * cell for the executor (because there is another executor displaying the job progress and we don't want to + * confuse the user) then this method will return {@code false} to indicate to {@code executors.jelly} that + * the executor cell should be hidden. * - * @return {@code true} if the {@code executorCell.jelly} for this {@link Executor} should be visible. + * @return {@code true} iff the {@code executorCell.jelly} for this {@link Executor} should be displayed in + * {@code executors.jelly}. * @since 1.607 + * @see AsynchronousExecution#displayCell() */ public boolean isDisplayCell() { AsynchronousExecution asynchronousExecution = getAsynchronousExecution();