hudson.plugins.view.dashboard.stats
Class StatJobs

java.lang.Object
  extended by hudson.plugins.view.dashboard.DashboardPortlet
      extended by hudson.plugins.view.dashboard.stats.StatJobs
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<DashboardPortlet>, hudson.model.ModelObject

public class StatJobs
extends DashboardPortlet

Job statistics - number of jobs with given health status

Author:
Vojtech Juranek

Nested Class Summary
static class StatJobs.DescriptorImpl
           
static class StatJobs.HealthStatus
          Heath status of the builds (use enum not class for it)
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
StatJobs(java.lang.String name)
           
 
Method Summary
 java.util.Map<StatJobs.HealthStatus,java.lang.Integer> getJobStat(java.util.List<hudson.model.TopLevelItem> jobs)
          Project statistics - number of projects with given health status
 
Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatJobs

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

getJobStat

public java.util.Map<StatJobs.HealthStatus,java.lang.Integer> getJobStat(java.util.List<hudson.model.TopLevelItem> jobs)
Project statistics - number of projects with given health status



Copyright © 2010. All Rights Reserved.