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.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, owner, PERMISSIONS, SORTER, transientActions |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
|
Constructor Summary |
XFPanelView(java.lang.String name,
java.lang.Integer numColumns)
C'tor |
| Methods inherited from class hudson.model.ListView |
add, contains, doCreateItem, getColumns, getDefaultColumns, getIncludeRegex, getItems, getJobFilters, getStatusFilter, hasJobFilterExtensions, initColumns, initJobFilters, onJobRenamed, save |
| Methods inherited from class hudson.model.View |
all, checkPermission, create, doConfigSubmit, doDoDelete, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getApi, getBuilds, getComputers, getDescription, getDescriptor, getDisplayName, getDynamic, getItem, getItemCreatePermission, getJob, getOwner, getPeople, getPostConstructLandingPage, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getWidgets, hasPeople, hasPermission, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, rename |
| 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 |
BlameState
protected XFPanelView.Blame BlameState
XFPanelView
@DataBoundConstructor
public XFPanelView(java.lang.String name,
java.lang.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.XFColors getColors()
- Returns:
- the colors to use
getGuiHeight
public java.lang.Integer getGuiHeight()
getGuiImgHeight
public java.lang.Integer getGuiImgHeight()
getGuiJobFont
public java.lang.Integer getGuiJobFont()
getGuiFailFont
public java.lang.Integer getGuiFailFont()
getGuiInfoFont
public java.lang.Integer getGuiInfoFont()
getGuiBuildFont
public java.lang.Integer getGuiBuildFont()
getGuiClaimFont
public java.lang.Integer getGuiClaimFont()
getMaxAmmountOfResponsibles
public java.lang.Integer getMaxAmmountOfResponsibles()
getFullHD
public java.lang.Boolean getFullHD()
getShowDescription
public java.lang.Boolean getShowDescription()
getSortDescending
public java.lang.Boolean getSortDescending()
getShowZeroTestCounts
public java.lang.Boolean getShowZeroTestCounts()
getShowTimeStamp
public java.lang.Boolean getShowTimeStamp()
getShowClaimInfo
public java.lang.Boolean getShowClaimInfo()
getShowWarningIcon
public java.lang.Boolean getShowWarningIcon()
getReplaceResponsibles
public java.lang.Boolean getReplaceResponsibles()
getResponsiblesTopic
public java.lang.String getResponsiblesTopic()
getHideSuccessfulBuilds
public java.lang.Boolean getHideSuccessfulBuilds()
getIsClaimPluginInstalled
public java.lang.Boolean getIsClaimPluginInstalled()
- Return true, if claim-plugin is installed
getReplaceNumberOfTestCases
public java.lang.Boolean getReplaceNumberOfTestCases()
sort
public java.util.Collection<XFPanelView.XFPanelEntry> sort(java.util.Collection<hudson.model.Job<?,?>> jobs)
- Parameters:
jobs - the selected jobs
- Returns:
- the jobs list wrapped into
XFPanelView.XFPanelEntry instances
getRefresh
public java.lang.Integer getRefresh()
- Returns:
- the refresh time in seconds
getNumColumns
public java.lang.Integer getNumColumns()
- Returns:
- the numColumns
submit
protected void submit(org.kohsuke.stapler.StaplerRequest req)
throws javax.servlet.ServletException,
hudson.model.Descriptor.FormException,
java.io.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
java.io.IOException
Copyright © 2004-2012. All Rights Reserved.