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.Listener
Nested classes/interfaces inherited from class hudson.model.View
View.PropertyList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.View
CONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, NEW_PRONOUN, owner, PERMISSIONS, READ, SORTER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
net.sf.json.JSONObject
Because of how org.kohsuke.stapler.HttpResponseRenderer is implemented it can only work with net.sf.JSONObject in order to produce correct application/json outputint
double
getTitle()
protected void
boolean
boolean
boolean
boolean
isEmpty()
boolean
boolean
void
protected void
submit
(org.kohsuke.stapler.StaplerRequest 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
Methods inherited from class hudson.model.View
all, allInstantiable, create, createViewFromXML, doCheckJobName, doChildrenContextMenu, doConfigDotXml, doConfigSubmit, doDoDelete, doItemCategories, doRssAll, doRssFailed, doRssLatest, 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, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getVisiblePropertyDescriptors, isAutomaticRefreshEnabled, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, onJobRenamed, registerPermissions, rename, save, setDescription, setFilterExecutors, setFilterQueue, toString, updateByXml, updateTransientActions, writeXml
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
Methods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByName
Methods inherited from interface jenkins.widgets.HasWidgets
getWidget, getWidgets
-
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:
initColumns
in classListView
-
setConfig
-
getConfig
-
submit
protected void submit(org.kohsuke.stapler.StaplerRequest req) throws javax.servlet.ServletException, IOException, Descriptor.FormException - Overrides:
submit
in classListView
- Throws:
javax.servlet.ServletException
IOException
Descriptor.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
-