public class JobFilter extends Object
Constructor and Description |
---|
JobFilter()
Constructs empty filter.
|
JobFilter(org.kohsuke.stapler.StaplerRequest req)
Constructs filter from a StaplerRequest.
|
Modifier and Type | Method and Description |
---|---|
List<hudson.model.TopLevelItem> |
doFilter(hudson.model.AllView view)
Filters jobs by the specified filter Due to the glitch in
View.getAllItems() we always process all jobs independently from
the view contents. |
Pattern |
getIncludePattern() |
String |
getIncludeRegex() |
List<hudson.views.ViewJobFilter> |
getJobFilters() |
Boolean |
getStatusFilter() |
public JobFilter()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public JobFilter(@Nonnull org.kohsuke.stapler.StaplerRequest req) throws hudson.model.Descriptor.FormException, javax.servlet.ServletException
req
- Stapler RequestDescriptor.FormException
- Missing or invalid field in the formjavax.servlet.ServletException
- Cannot retrieve submitted form in Stapler@Nonnull @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<hudson.model.TopLevelItem> doFilter(@Nonnull hudson.model.AllView view)
View.getAllItems()
we always process all jobs independently from
the view contents.view
- View, for which we retrieve the data@CheckForNull public Pattern getIncludePattern()
@CheckForNull public String getIncludeRegex()
@CheckForNull public Boolean getStatusFilter()
Copyright © 2016–2022. All rights reserved.