Class ParameterRunMatcherFilter
java.lang.Object
hudson.views.ViewJobFilter
io.jenkins.plugins.dynamic_view_filter.ParameterRunMatcherFilter
- All Implemented Interfaces:
ExtensionPoint,Describable<ViewJobFilter>,RunMatcher
A view-level job filter that implements
RunMatcher.
Add this ONCE to a view's Job Filters section, configure the parameter
name regex, value regex, and other matching options, and every
DynamicBuildFilterColumn in that view will automatically
filter builds through it.
Matching behaviour mirrors the upstream ParameterFilter from
view-job-filters, including support for name regex, value regex,
description regex, default-value vs build-value matching,
multi-build scanning, in-progress matching, and include/exclude modes.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionParameterRunMatcherFilter(String includeExcludeTypeString, String nameRegex, String valueRegex, String descriptionRegex, boolean useDefaultValue, boolean matchAllBuilds, int maxBuildsToMatch, boolean matchBuildsInProgress) -
Method Summary
Modifier and TypeMethodDescriptionfilter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView) intbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanmatchesRun(Run run) Methods inherited from class hudson.views.ViewJobFilter
all, getDescriptor
-
Constructor Details
-
ParameterRunMatcherFilter
-
-
Method Details
-
getIncludeExcludeTypeString
-
isIncludeMatched
public boolean isIncludeMatched() -
isIncludeUnmatched
public boolean isIncludeUnmatched() -
isExcludeMatched
public boolean isExcludeMatched() -
isExcludeUnmatched
public boolean isExcludeUnmatched() -
getNameRegex
-
getValueRegex
-
getDescriptionRegex
-
isUseDefaultValue
public boolean isUseDefaultValue() -
isMatchAllBuilds
public boolean isMatchAllBuilds() -
getMaxBuildsToMatch
public int getMaxBuildsToMatch() -
isMatchBuildsInProgress
public boolean isMatchBuildsInProgress() -
matchesRun
- Specified by:
matchesRunin interfaceRunMatcher
-
filter
public List<TopLevelItem> filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView) - Specified by:
filterin classViewJobFilter
-