diff --git a/src/main/java/hudson/matrix/Axis.java b/src/main/java/hudson/matrix/Axis.java index 167cb807..1c11711a 100644 --- a/src/main/java/hudson/matrix/Axis.java +++ b/src/main/java/hudson/matrix/Axis.java @@ -63,6 +63,7 @@ public class Axis extends AbstractDescribableImpl implements Comparable implements Comparable values; @@ -106,6 +108,7 @@ public Axis(String name, String valueString) { * @deprecated as of 1.373 * System vs user difference are generalized into extension point. */ + @Deprecated public boolean isSystem() { return false; } diff --git a/src/main/java/hudson/matrix/Combination.java b/src/main/java/hudson/matrix/Combination.java index 5fca315e..2d2e4969 100644 --- a/src/main/java/hudson/matrix/Combination.java +++ b/src/main/java/hudson/matrix/Combination.java @@ -97,6 +97,7 @@ public boolean evalGroovyExpression(AxisList axes, String expression) { * @deprecated as of 1.528 * Use {@link FilterScript#apply(hudson.matrix.MatrixBuild.MatrixBuildExecution, Combination)} */ + @Deprecated public boolean evalGroovyExpression(AxisList axes, String expression, Binding binding) { return FilterScript.parse(expression).apply(axes, this, binding); } diff --git a/src/main/java/hudson/matrix/LinkedLogRotator.java b/src/main/java/hudson/matrix/LinkedLogRotator.java index b33fe6ef..a19d8c58 100644 --- a/src/main/java/hudson/matrix/LinkedLogRotator.java +++ b/src/main/java/hudson/matrix/LinkedLogRotator.java @@ -51,6 +51,7 @@ final class LinkedLogRotator extends LogRotator { * @deprecated since 1.369 * Use {@link #LinkedLogRotator(int, int)} */ + @Deprecated LinkedLogRotator() { super(-1, -1, -1, -1); } diff --git a/src/main/java/hudson/matrix/MatrixConfiguration.java b/src/main/java/hudson/matrix/MatrixConfiguration.java index c95fc403..4babbe26 100644 --- a/src/main/java/hudson/matrix/MatrixConfiguration.java +++ b/src/main/java/hudson/matrix/MatrixConfiguration.java @@ -426,6 +426,7 @@ public SCM getScm() { * @deprecated * Not supported. */ + @Deprecated @Override public void setJDK(JDK jdk) throws IOException { throw new UnsupportedOperationException(); @@ -435,6 +436,7 @@ public void setJDK(JDK jdk) throws IOException { * @deprecated * Value is controlled by {@link MatrixProject}. */ + @Deprecated @Override public void setBuildDiscarder(BuildDiscarder logRotator) { throw new UnsupportedOperationException(); @@ -467,6 +469,7 @@ public boolean isActiveConfiguration() { * @deprecated * Use {@link #scheduleBuild(ParametersAction, Cause)}. Since 1.283 */ + @Deprecated public boolean scheduleBuild(ParametersAction parameters) { return scheduleBuild(parameters, new Cause.UserIdCause()); } @@ -478,6 +481,7 @@ public boolean scheduleBuild(ParametersAction parameters) { * @deprecated * Use {@link #scheduleBuild(List, Cause)}. Since 1.480 */ + @Deprecated public boolean scheduleBuild(ParametersAction parameters, Cause c) { return scheduleBuild(Collections.singletonList(parameters), c); } diff --git a/src/main/java/hudson/matrix/MatrixExecutionStrategy.java b/src/main/java/hudson/matrix/MatrixExecutionStrategy.java index 33948422..bd88a16d 100644 --- a/src/main/java/hudson/matrix/MatrixExecutionStrategy.java +++ b/src/main/java/hudson/matrix/MatrixExecutionStrategy.java @@ -49,6 +49,7 @@ public Result run(MatrixBuildExecution execution) throws InterruptedException, I * @deprecated * Override {@link #run(MatrixBuild.MatrixBuildExecution)} */ + @Deprecated public Result run(MatrixBuild build, List aggregators, BuildListener listener) throws InterruptedException, IOException { throw new UnsupportedOperationException(getClass()+" needs to override run(MatrixBuildExecution)"); }