diff --git a/core/src/main/java/hudson/matrix/MatrixAggregator.java b/core/src/main/java/hudson/matrix/MatrixAggregator.java index f82a5919ce15feaa83806fdca8b472c3a19d11c1..dbdfcaffa792da9e22139a0fb350aa1cd5866901 100644 --- a/core/src/main/java/hudson/matrix/MatrixAggregator.java +++ b/core/src/main/java/hudson/matrix/MatrixAggregator.java @@ -74,7 +74,7 @@ public abstract class MatrixAggregator implements ExtensionPoint { * @return * true if the build can continue, false if there was an error * and the build needs to be aborted. - * @see BuildStep#prebuild(Build,BuildListener) + * @see BuildStep#prebuild(AbstractBuild,BuildListener) */ public boolean startBuild() throws InterruptedException, IOException { return true; diff --git a/core/src/main/java/hudson/matrix/MatrixExecutionStrategy.java b/core/src/main/java/hudson/matrix/MatrixExecutionStrategy.java index f86a7d940a77bec553d32b16624424198622afb9..33948422d7bddb91edc2ebb9573bed4eaa82ca11 100644 --- a/core/src/main/java/hudson/matrix/MatrixExecutionStrategy.java +++ b/core/src/main/java/hudson/matrix/MatrixExecutionStrategy.java @@ -47,7 +47,7 @@ public abstract class MatrixExecutionStrategy extends AbstractDescribableImpl aggregators, BuildListener listener) throws InterruptedException, IOException { throw new UnsupportedOperationException(getClass()+" needs to override run(MatrixBuildExecution)"); diff --git a/core/src/main/java/hudson/model/queue/QueueTaskDispatcher.java b/core/src/main/java/hudson/model/queue/QueueTaskDispatcher.java index 334a2c78408c12b56bd82e75be9a0ca37bbc5d3c..b9dd7931850d7970c681eecf3992ac702041b707 100644 --- a/core/src/main/java/hudson/model/queue/QueueTaskDispatcher.java +++ b/core/src/main/java/hudson/model/queue/QueueTaskDispatcher.java @@ -64,7 +64,7 @@ public abstract class QueueTaskDispatcher implements ExtensionPoint { * (This relationship is also the same with built-in check logic.) * * @deprecated since 1.413 - * Use {@link #canTake(Node, BuildableItem)} + * Use {@link #canTake(Node, Queue.BuildableItem)} */ public CauseOfBlockage canTake(Node node, Task task) { return null; @@ -85,7 +85,7 @@ public abstract class QueueTaskDispatcher implements ExtensionPoint { * *

* This method is primarily designed to fine-tune where the execution should take place. If the execution - * shouldn't commence anywhere at all, implementation should use {@link #canRun(Item)} instead so + * shouldn't commence anywhere at all, implementation should use {@link #canRun(Queue.Item)} instead so * that Jenkins understands the difference between "this node isn't the right place for this work" * vs "the time isn't right for this work to execute." This affects the provisioning behaviour * with elastic Jenkins deployments. @@ -107,9 +107,9 @@ public abstract class QueueTaskDispatcher implements ExtensionPoint { * executor availability), or if it should be considered blocked. * *

- * Compared to {@link #canTake(Node, BuildableItem)}, this version tells Jenkins that the task is + * Compared to {@link #canTake(Node, Queue.BuildableItem)}, this version tells Jenkins that the task is * simply not ready to execute, even if there's available executor. This is more efficient - * than {@link #canTake(Node, BuildableItem)}, and it sends the right signal to Jenkins so that + * than {@link #canTake(Node, Queue.BuildableItem)}, and it sends the right signal to Jenkins so that * it won't use {@link Cloud} to try to provision new executors. * *

diff --git a/core/src/main/java/hudson/slaves/NodeProperty.java b/core/src/main/java/hudson/slaves/NodeProperty.java index 3ccdc4d8c76b91f134da18de58f24886e5ad0519..828f0ac9055f279f44c57f8edc2b042dfe6735ef 100644 --- a/core/src/main/java/hudson/slaves/NodeProperty.java +++ b/core/src/main/java/hudson/slaves/NodeProperty.java @@ -90,7 +90,7 @@ public abstract class NodeProperty implements ReconfigurableDesc * * @since 1.360 * @deprecated as of 1.413 - * Use {@link #canTake(BuildableItem)} + * Use {@link #canTake(Queue.BuildableItem)} */ public CauseOfBlockage canTake(Task task) { return null; diff --git a/core/src/main/java/hudson/triggers/SCMTrigger.java b/core/src/main/java/hudson/triggers/SCMTrigger.java index 07df3baac0447f77c48c0e6b661ca6f11e75a57d..2f93968bf0ef390a45490ba9e49c0404bff60544 100644 --- a/core/src/main/java/hudson/triggers/SCMTrigger.java +++ b/core/src/main/java/hudson/triggers/SCMTrigger.java @@ -520,7 +520,7 @@ public class SCMTrigger extends Trigger { /** * @deprecated - * Use {@link #SCMTriggerCause(String)}. + * Use {@link #SCMTrigger.SCMTriggerCause(String)}. */ public SCMTriggerCause() { this("");