public abstract class Widget extends Object implements ExtensionPoint
Jenkins.getWidgets()
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
Widget() |
public String getUrlName()
For example, if this method returns "xyz", and if the parent object (that this widget is associated with) is bound to /foo/bar/zot, then this widget object will be exposed to /foo/bar/zot/xyz.
This method is useful when the widget needs to expose additional URLs, for example for serving AJAX requests.
This method should return a string that's unique among other Widget
s.
The default implementation returns the unqualified class name.
Copyright © 2004–2021. All rights reserved.