Class BuildMonitorView

java.lang.Object
hudson.model.AbstractModelObject
hudson.model.View
hudson.model.ListView
com.smartcodeltd.jenkinsci.plugins.buildmonitor.BuildMonitorView
All Implemented Interfaces:
ExtensionPoint, Describable<View>, DescriptorByNameOwner, DirectlyModifiableView, ModelObject, Saveable, SearchableModelObject, SearchItem, AccessControlled, ModelObjectWithChildren, HasWidgets

public class BuildMonitorView extends ListView
Author:
Jan Molak
  • Field Details

  • Constructor Details

    • BuildMonitorView

      @DataBoundConstructor public BuildMonitorView(String name, String title)
      Parameters:
      name - Name of the view to be displayed on the Views tab
      title - Title to be displayed on the Build Monitor; defaults to 'name' if not set
  • Method Details

    • getTitle

      public String getTitle()
    • isEmpty

      public boolean isEmpty()
    • getCsrfCrumbFieldName

      public String getCsrfCrumbFieldName()
    • currentOrder

      public String currentOrder()
    • currentbuildFailureAnalyzerDisplayedField

      public String currentbuildFailureAnalyzerDisplayedField()
    • isDisplayCommitters

      public boolean isDisplayCommitters()
    • getTextScale

      public double getTextScale()
    • getMaxColumns

      public int getMaxColumns()
    • isColourBlindMode

      public boolean isColourBlindMode()
    • isReduceMotion

      public boolean isReduceMotion()
    • isShowBadges

      public boolean isShowBadges()
    • currentDisplayBadges

      public String currentDisplayBadges()
    • currentDisplayBadgesFrom

      public String currentDisplayBadgesFrom()
    • isDisplayJUnitProgress

      public boolean isDisplayJUnitProgress()
    • getInstallation

      public BuildMonitorInstallation getInstallation()
    • collectAnonymousUsageStatistics

      public boolean collectAnonymousUsageStatistics()
    • initColumns

      protected void initColumns()
      Overrides:
      initColumns in class ListView
    • setConfig

      @DataBoundSetter public void setConfig(Config config)
    • getConfig

      public Config getConfig()
    • submit

      protected void submit(org.kohsuke.stapler.StaplerRequest req) throws javax.servlet.ServletException, IOException, Descriptor.FormException
      Overrides:
      submit in class ListView
      Throws:
      javax.servlet.ServletException
      IOException
      Descriptor.FormException
    • fetchJobViews

      @JavaScriptMethod public net.sf.json.JSONObject fetchJobViews() throws Exception
      Because of how org.kohsuke.stapler.HttpResponseRenderer is implemented it can only work with net.sf.JSONObject in order to produce correct application/json output
      Returns:
      Json representation of JobViews
      Throws:
      Exception