Class BuildQueueWidget

java.lang.Object
hudson.widgets.Widget
jenkins.widgets.BuildQueueWidget

public class BuildQueueWidget extends Widget
Show the default build queue. A plugin may remove this from Jenkins.getWidgets() and swap in their own.
Since:
1.514
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • BuildQueueWidget

      public BuildQueueWidget(@NonNull String ownerUrl, @NonNull List<QueueItem> queueItems)
    • BuildQueueWidget

      public BuildQueueWidget(@NonNull String ownerUrl, @NonNull List<QueueItem> queueItems, boolean filtered)
  • Method Details

    • getOwnerUrl

      public 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.
    • getQueueItems

      @NonNull public List<QueueItem> getQueueItems()
    • isFiltered

      public boolean isFiltered()