Class RegexpFilter

java.lang.Object
hudson.model.AbstractDescribableImpl<RegexpFilter>
io.jenkins.plugins.analysis.core.filter.RegexpFilter
All Implemented Interfaces:
Describable<RegexpFilter>, Serializable
Direct Known Subclasses:
ExcludeCategory, ExcludeFile, ExcludeMessage, ExcludeModule, ExcludePackage, ExcludeType, IncludeCategory, IncludeFile, IncludeMessage, IncludeModule, IncludePackage, IncludeType

public abstract class RegexpFilter extends AbstractDescribableImpl<RegexpFilter> implements Serializable
Defines a filter criteria based on a regular expression for Report.
Author:
Ullrich Hafner
See Also:
  • Method Details

    • getPattern

      public String getPattern()
      Returns the regular expression of the filter.
      Returns:
      the regular expression of the filter
    • apply

      public abstract void apply(edu.hm.hafner.analysis.Report.IssueFilterBuilder builder)
      Applies the filter on the specified builder.
      Parameters:
      builder - the issue filter builder