maps.hudson.plugin.xfpanel
Class XFPanelView
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.View
hudson.model.ListView
maps.hudson.plugin.xfpanel.XFPanelView
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.View>, hudson.model.ModelObject, hudson.model.Saveable, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled
public class XFPanelView
- extends hudson.model.ListView
Represents an eXtreme Feedback Panel View.
Thanks to Mark Howard and his work on the Radiator View Plugin from which this was based.
- Author:
- jrenaut
Nested classes/interfaces inherited from class hudson.model.ListView |
hudson.model.ListView.DescriptorImpl |
Nested classes/interfaces inherited from class hudson.model.View |
hudson.model.View.People, hudson.model.View.PropertyList, hudson.model.View.UserInfo |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.View |
CONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, NEW_PRONOUN, owner, PERMISSIONS, READ, SORTER, transientActions |
Fields inherited from interface hudson.model.Saveable |
NOOP |
Methods inherited from class hudson.model.ListView |
add, contains, doCreateItem, getColumns, getDefaultColumns, getIncludeRegex, getItems, getJobFilters, getStatusFilter, hasJobFilterExtensions, initColumns, initJobFilters, onJobRenamed |
Methods inherited from class hudson.model.View |
all, allInstantiable, checkPermission, create, doConfigSubmit, doDoDelete, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllProperties, getApi, getApplicablePropertyDescriptors, getBuilds, getComputers, getDescription, getDescriptor, getDisplayName, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPeople, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getWidgets, hasPeople, hasPermission, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, rename, save |
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, toString, wait, wait, wait |
Methods inherited from interface hudson.model.Saveable |
save |
colors
protected XFPanelView.XFPanelColors colors
placeInQueue
protected transient Map<hudson.model.Queue.Item,Integer> placeInQueue
priorityPerJob
protected Map<String,Integer> priorityPerJob
BlameState
protected XFPanelView.Blame BlameState
XFPanelView
@DataBoundConstructor
public XFPanelView(String name,
Integer numColumns)
- C'tor
- Parameters:
name
- the name of the viewnumColumns
- the number of columns to use on the layout (work in progress)
getColors
public XFPanelView.XFPanelColors getColors()
- Returns:
- the colors to use
getGuiHeight
public Integer getGuiHeight()
getGuiJobFont
public Integer getGuiJobFont()
getGuiFailFont
public Integer getGuiFailFont()
getGuiInfoFont
public Integer getGuiInfoFont()
getGuiBuildFont
public Integer getGuiBuildFont()
getGuiClaimFont
public Integer getGuiClaimFont()
getMaxAmmountOfResponsibles
public Integer getMaxAmmountOfResponsibles()
getFullHD
public Boolean getFullHD()
getShowDescription
public Boolean getShowDescription()
getShowBrokenBuildCount
public Boolean getShowBrokenBuildCount()
getSortDescending
public Boolean getSortDescending()
getShowZeroTestCounts
public Boolean getShowZeroTestCounts()
getShowTimeStamp
public Boolean getShowTimeStamp()
getShowClaimInfo
public Boolean getShowClaimInfo()
getShowClaimInfoInUnstable
public Boolean getShowClaimInfoInUnstable()
getShowWarningIcon
public Boolean getShowWarningIcon()
getReplaceResponsibles
public Boolean getReplaceResponsibles()
getBlameState
public Integer getBlameState()
getAutomaticSortState
public Boolean getAutomaticSortState()
getManualSortState
public Boolean getManualSortState()
getResponsiblesTopic
public String getResponsiblesTopic()
getHideSuccessfulBuilds
public Boolean getHideSuccessfulBuilds()
getSuccessfulBuildColor
public String getSuccessfulBuildColor()
getUnstableBuildColor
public String getUnstableBuildColor()
getBrokenBuildColor
public String getBrokenBuildColor()
getOtherBuildColor
public String getOtherBuildColor()
getBuildFontColor
public String getBuildFontColor()
getPriorityPerJob
public Boolean getPriorityPerJob()
getIsClaimPluginInstalled
public Boolean getIsClaimPluginInstalled()
- Return true, if claim-plugin is installed
getReplaceNumberOfTestCases
public Boolean getReplaceNumberOfTestCases()
getAutoResizeEntryHeight
public Boolean getAutoResizeEntryHeight()
sort
public Collection<XFPanelEntry> sort(Collection<hudson.model.Job<?,?>> jobs)
- Parameters:
jobs
- the selected jobs
- Returns:
- the jobs list wrapped into
XFPanelEntry
instances
getPrioritySortedJobs
public Collection<hudson.model.Job<?,?>> getPrioritySortedJobs()
getPrioritySortedJobs
public Collection<hudson.model.Job<?,?>> getPrioritySortedJobs(Collection<hudson.model.Job<?,?>> jobs)
getPrioritySortedJobs
public Collection<hudson.model.Job<?,?>> getPrioritySortedJobs(Collection<hudson.model.Job<?,?>> jobs,
boolean isConfiguration)
getRefresh
public Integer getRefresh()
- Returns:
- the refresh time in seconds
getNumColumns
public Integer getNumColumns()
- Returns:
- the numColumns
getLastBuildTimePreFix
public String getLastBuildTimePreFix()
submit
protected void submit(org.kohsuke.stapler.StaplerRequest req)
throws javax.servlet.ServletException,
hudson.model.Descriptor.FormException,
IOException
- Gets from the request the configuration parameters
- Overrides:
submit
in class hudson.model.ListView
- Parameters:
req
- StaplerRequest
- Throws:
javax.servlet.ServletException
- if any
hudson.model.Descriptor.FormException
- if any
IOException
Copyright © 2004-2015. All Rights Reserved.