Class UnstableJobsPortlet
- java.lang.Object
-
- hudson.plugins.view.dashboard.DashboardPortlet
-
- hudson.plugins.view.dashboard.core.UnstableJobsPortlet
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<DashboardPortlet>
,ModelObject
public class UnstableJobsPortlet extends DashboardPortlet
Portlet display a list of unstable (or worse) jobs in a simple tabular format.- Author:
- Peter Hayes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnstableJobsPortlet.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description UnstableJobsPortlet(String name, boolean showOnlyFailedJobs, boolean recurse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ListViewColumn>
getColumns()
Collection<Job>
getUnstableJobs(Collection<? extends Item> allJobs)
Given a list of all jobs, return just those that are unstable or worse.boolean
isRecurse()
boolean
isShowOnlyFailedJobs()
-
Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl
-
-
-
-
Constructor Detail
-
UnstableJobsPortlet
@DataBoundConstructor public UnstableJobsPortlet(String name, boolean showOnlyFailedJobs, boolean recurse)
-
-
Method Detail
-
getUnstableJobs
public Collection<Job> getUnstableJobs(Collection<? extends Item> allJobs)
Given a list of all jobs, return just those that are unstable or worse.
-
getColumns
public Collection<ListViewColumn> getColumns()
-
isShowOnlyFailedJobs
public boolean isShowOnlyFailedJobs()
-
isRecurse
public boolean isRecurse()
-
-