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
- Author:
- Jan Molak
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.ListView
ListView.DescriptorImpl, ListView.ListenerNested classes/interfaces inherited from class hudson.model.View
View.PropertyListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.model.View
CONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, NEW_PRONOUN, owner, PERMISSIONS, READ, SORTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleannet.sf.json.JSONObjectBecause of how org.kohsuke.stapler.HttpResponseRenderer is implemented it can only work with net.sf.JSONObject in order to produce correct application/json outputintdoublegetTitle()protected voidbooleanbooleanbooleanbooleanisEmpty()booleanbooleanvoidprotected voidsubmit(org.kohsuke.stapler.StaplerRequest2 req) Methods inherited from class hudson.model.ListView
add, contains, doAddJobToView, doCreateItem, doRemoveJobFromView, getColumns, getDefaultColumns, getIncludeRegex, getItems, getJobFilters, getJobNames, getStatusFilter, hasJobFilterExtensions, initJobFilters, isAddToCurrentView, isRecurse, jobNamesContains, makeSearchIndex, readResolve, remove, setColumns, setIncludeRegex, setJobFilters, setJobNames, setRecurse, setStatusFilter, submitMethods inherited from class hudson.model.View
all, allInstantiable, create, create, createViewFromXML, doCheckJobName, doChildrenContextMenu, doConfigDotXml, doConfigDotXml, doConfigSubmit, doCreateItem, doDoDelete, doItemCategories, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllItems, getAllProperties, getApi, getApplicablePropertyDescriptors, getApproximateQueueItemsQuickly, getBuilds, getComputers, getDescription, getDescriptor, getDisplayName, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPostConstructLandingPage, getProperties, getQueueItems, getSearchIcon, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getVisiblePropertyDescriptors, isAutomaticRefreshEnabled, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, onJobRenamed, registerPermissions, rename, save, setDescription, setFilterExecutors, setFilterQueue, toString, updateByXml, updateTransientActions, writeXmlMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2Methods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByNameMethods inherited from interface jenkins.widgets.HasWidgets
getWidget, getWidgetsMethods inherited from interface jenkins.model.ModelObjectWithChildren
doChildrenContextMenu
-
Field Details
-
descriptor
-
-
Constructor Details
-
BuildMonitorView
- Parameters:
name- Name of the view to be displayed on the Views tabtitle- Title to be displayed on the Build Monitor; defaults to 'name' if not set
-
-
Method Details
-
getTitle
-
isEmpty
public boolean isEmpty() -
getCsrfCrumbFieldName
-
currentOrder
-
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
-
currentDisplayBadgesFrom
-
isDisplayJUnitProgress
public boolean isDisplayJUnitProgress() -
getInstallation
-
collectAnonymousUsageStatistics
public boolean collectAnonymousUsageStatistics() -
initColumns
protected void initColumns()- Overrides:
initColumnsin classListView
-
setConfig
-
getConfig
-
submit
protected void submit(org.kohsuke.stapler.StaplerRequest2 req) throws jakarta.servlet.ServletException, IOException, Descriptor.FormException - Overrides:
submitin classListView- Throws:
jakarta.servlet.ServletExceptionIOExceptionDescriptor.FormException
-
fetchJobViews
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
-