Skip to content

Commit fabb696

Browse files
Remove /extensionList/ URL (#10752)
* Remove /extensionList/ URL * Fix Javadoc * Add @deprecated Javadoc for Checkstyle --------- Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com> Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
1 parent dd2136d commit fabb696

File tree

4 files changed

+4
-140
lines changed

4 files changed

+4
-140
lines changed

core/src/main/java/jenkins/model/Jenkins.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2830,12 +2830,13 @@ public <T> ExtensionList<T> getExtensionList(Class<T> extensionType) {
28302830

28312831
/**
28322832
* Formerly used to bind {@link ExtensionList}s to URLs.
2833-
* <p>
2834-
* Currently handled by {@link jenkins.telemetry.impl.HttpExtensionList.ExtensionListRootAction}.
2835-
* </p>
28362833
*
28372834
* @since 1.349
2835+
* @deprecated This is no longer supported.
2836+
* For URL access to descriptors, see {@link hudson.model.DescriptorByNameOwner}.
2837+
* For URL access to specific other {@link hudson.Extension} annotated elements, create your own {@link hudson.model.Action}, like {@link hudson.console.ConsoleAnnotatorFactory.RootAction}.
28382838
*/
2839+
@Deprecated(since = "TODO")
28392840
public ExtensionList getExtensionList(String extensionType) throws ClassNotFoundException {
28402841
return getExtensionList(pluginManager.uberClassLoader.loadClass(extensionType));
28412842
}

core/src/main/java/jenkins/telemetry/impl/HttpExtensionList.java

Lines changed: 0 additions & 124 deletions
This file was deleted.

core/src/main/resources/jenkins/telemetry/impl/HttpExtensionList/description.jelly

Lines changed: 0 additions & 9 deletions
This file was deleted.

core/src/main/resources/jenkins/telemetry/impl/HttpExtensionList/description.properties

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)