Package jenkins.widgets
Class ExecutorsWidget
- java.lang.Object
-
- hudson.widgets.Widget
-
- jenkins.widgets.ExecutorsWidget
-
public class ExecutorsWidget extends Widget
The default executors widget. A plugin may remove this fromJenkins.getWidgets()
and swap in their own.- Since:
- 1.514
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExecutorsWidget.ComputerFactoryImpl
static class
ExecutorsWidget.ComputerSetFactoryImpl
static class
ExecutorsWidget.ViewFactoryImpl
-
Constructor Summary
Constructors Constructor Description ExecutorsWidget(String ownerUrl, List<Computer> computers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Computer>
getComputers()
protected String
getOwnerUrl()
-
Methods inherited from class hudson.widgets.Widget
getUrl, getUrlName
-
-
-
-
Method Detail
-
getOwnerUrl
protected String getOwnerUrl()
- Overrides:
getOwnerUrl
in classWidget
- Returns:
- The URL of the owner of this widget relative to context path. Always ends with a trailing slash.
Can be
null
for backward compatibility with widgets annotated with @Extension.
-
-