@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class StatusFilter extends ViewJobFilter
Modifier and Type | Class and Description |
---|---|
static class |
StatusFilter.StatusFilterDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
StatusFilter(boolean statusFilter)
Creates a new status filter based on supplied boolean
|
Modifier and Type | Method and Description |
---|---|
List<TopLevelItem> |
filter(List<TopLevelItem> added,
List<TopLevelItem> all,
View filteringView)
Choose which jobs to show for a view.
|
boolean |
getStatusFilter()
The setting of the job status filter
|
all, getDescriptor
@DataBoundConstructor public StatusFilter(boolean statusFilter)
statusFilter
- true for enabled jobs only and false for disabled jobs onlypublic List<TopLevelItem> filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
filter
in class ViewJobFilter
added
- which jobs have been added so far. This JobFilter can remove or add to this list.all
- All jobs that are possible.filteringView
- The view that we are filtering jobs for.public boolean getStatusFilter()
Copyright © 2004–2021. All rights reserved.