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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDescriptor for a filter. -
Method Summary
Modifier and TypeMethodDescriptionabstract voidapply(edu.hm.hafner.analysis.Report.IssueFilterBuilder builder) Applies the filter on the specified builder.Returns the regular expression of the filter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Method Details
-
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
-