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 from Jenkins.getWidgets() and swap in their own.
Since:
1.514
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • ExecutorsWidget

      public ExecutorsWidget(@NonNull String ownerUrl, @NonNull List<? extends IComputer> computers)
  • Method Details

    • getOwnerUrl

      protected String getOwnerUrl()
      Overrides:
      getOwnerUrl in class Widget
      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.
    • getComputers

      public List<? extends IComputer> getComputers()