Package hudson.views

Class ParameterFilter

All Implemented Interfaces:
ExtensionPoint, Describable<ViewJobFilter>, RunMatcher

public class ParameterFilter extends AbstractIncludeExcludeJobFilter implements RunMatcher
  • Constructor Details

    • ParameterFilter

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

    • matches

      protected boolean matches(TopLevelItem item)
      Overrides:
      matches in class AbstractIncludeExcludeJobFilter
    • matchesDefaultValue

      protected boolean matchesDefaultValue(Job job)
    • matchesBuildValue

      protected boolean matchesBuildValue(Job job)
    • matchesRun

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

      public boolean matchesParameter(String name, String value, boolean isValueMultiline, String description)
    • getStringValue

      protected String getStringValue(ParameterDefinition definition)
    • getStringValue

      protected String getStringValue(ParameterValue value)
    • 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()