hudson.plugins.view.dashboard
Class Dashboard

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.View
          extended by hudson.model.ListView
              extended by hudson.plugins.view.dashboard.Dashboard
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 Dashboard
extends hudson.model.ListView

View that can be customized with portlets to show the selected jobs information in various ways.

Author:
Peter Hayes

Nested Class Summary
static class Dashboard.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
 
Field Summary
 
Fields inherited from class hudson.model.View
CONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, owner, PERMISSIONS, SORTER
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
Dashboard(java.lang.String name)
           
 
Method Summary
 java.util.List<DashboardPortlet> getBottomPortlets()
           
 hudson.DescriptorExtensionList<DashboardPortlet,hudson.model.Descriptor<DashboardPortlet>> getDashboardPortletDescriptors()
           
 java.util.List<hudson.model.Job> getJobs()
           
 java.util.List<DashboardPortlet> getLeftPortlets()
           
 java.lang.String getLeftPortletWidth()
           
 DashboardPortlet getPortlet(java.lang.String name)
           
 java.util.List<DashboardPortlet> getRightPortlets()
           
 java.lang.String getRightPortletWidth()
           
 java.util.List<DashboardPortlet> getTopPortlets()
           
 boolean HasItem(hudson.model.TopLevelItem item)
           
 boolean isIncludeStdJobList()
           
 boolean isUseCssStyle()
           
 void rename(java.lang.String newName)
           
protected  void submit(org.kohsuke.stapler.StaplerRequest req)
           
 
Methods inherited from class hudson.model.ListView
contains, doCreateItem, getActions, 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, getApi, getBuilds, getComputers, getDescription, getDescriptor, getDisplayName, getItem, getItemCreatePermission, getJob, getOwner, getPeople, getPostConstructLandingPage, getQueueItems, getSearchUrl, getUrl, getViewName, getViewUrl, getWidgets, hasPeople, hasPermission, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex
 
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
 

Constructor Detail

Dashboard

@DataBoundConstructor
public Dashboard(java.lang.String name)
Method Detail

isUseCssStyle

public boolean isUseCssStyle()

isIncludeStdJobList

public boolean isIncludeStdJobList()

getLeftPortlets

public java.util.List<DashboardPortlet> getLeftPortlets()

getRightPortlets

public java.util.List<DashboardPortlet> getRightPortlets()

getTopPortlets

public java.util.List<DashboardPortlet> getTopPortlets()

getBottomPortlets

public java.util.List<DashboardPortlet> getBottomPortlets()

getLeftPortletWidth

public java.lang.String getLeftPortletWidth()

getRightPortletWidth

public java.lang.String getRightPortletWidth()

getPortlet

public DashboardPortlet getPortlet(java.lang.String name)

getDashboardPortletDescriptors

public hudson.DescriptorExtensionList<DashboardPortlet,hudson.model.Descriptor<DashboardPortlet>> getDashboardPortletDescriptors()

HasItem

public boolean HasItem(hudson.model.TopLevelItem item)

getJobs

public java.util.List<hudson.model.Job> getJobs()

submit

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

rename

public void rename(java.lang.String newName)
            throws hudson.model.Descriptor.FormException
Overrides:
rename in class hudson.model.View
Throws:
hudson.model.Descriptor.FormException


Copyright © 2010. All Rights Reserved.