Class ParameterRunMatcherFilter

java.lang.Object
hudson.views.ViewJobFilter
io.jenkins.plugins.dynamic_view_filter.ParameterRunMatcherFilter
All Implemented Interfaces:
ExtensionPoint, Describable<ViewJobFilter>, RunMatcher

public class ParameterRunMatcherFilter extends ViewJobFilter implements 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.
  • Constructor Details

    • ParameterRunMatcherFilter

      @DataBoundConstructor public ParameterRunMatcherFilter(String includeExcludeTypeString, String nameRegex, String valueRegex, String descriptionRegex, boolean useDefaultValue, boolean matchAllBuilds, int maxBuildsToMatch, boolean matchBuildsInProgress)
  • Method Details

    • getIncludeExcludeTypeString

      public String getIncludeExcludeTypeString()
    • isIncludeMatched

      public boolean isIncludeMatched()
    • isIncludeUnmatched

      public boolean isIncludeUnmatched()
    • isExcludeMatched

      public boolean isExcludeMatched()
    • isExcludeUnmatched

      public boolean isExcludeUnmatched()
    • getNameRegex

      public String getNameRegex()
    • getValueRegex

      public String getValueRegex()
    • getDescriptionRegex

      public String getDescriptionRegex()
    • isUseDefaultValue

      public boolean isUseDefaultValue()
    • isMatchAllBuilds

      public boolean isMatchAllBuilds()
    • getMaxBuildsToMatch

      public int getMaxBuildsToMatch()
    • isMatchBuildsInProgress

      public boolean isMatchBuildsInProgress()
    • matchesRun

      public boolean matchesRun(Run run)
      Specified by:
      matchesRun in interface RunMatcher
    • filter

      public List<TopLevelItem> filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
      Specified by:
      filter in class ViewJobFilter