Package hudson.views
Class RegExJobFilter
- java.lang.Object
-
- hudson.views.ViewJobFilter
-
- hudson.views.AbstractIncludeExcludeJobFilter
-
- hudson.views.RegExJobFilter
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ViewJobFilter>
public class RegExJobFilter extends AbstractIncludeExcludeJobFilter
Simple JobFilter that filters jobs based on a regular expression, and making use of negate and exclude flags.- Author:
- Jacob Robertson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RegExJobFilter.DescriptorImpl
static class
RegExJobFilter.Options
static class
RegExJobFilter.ValueType
-
Nested classes/interfaces inherited from class hudson.views.AbstractIncludeExcludeJobFilter
AbstractIncludeExcludeJobFilter.IncludeExcludeType
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description RegExJobFilter(String regex, String includeExcludeTypeString, String valueTypeString)
RegExJobFilter(String regex, String includeExcludeTypeString, String valueTypeString, boolean matchName, boolean matchFullName, boolean matchDisplayName, boolean matchFullDisplayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegExJobFilter.Options
getOptions()
String
getRegex()
String
getValueTypeString()
boolean
isMatchDisplayName()
boolean
isMatchFullDisplayName()
boolean
isMatchFullName()
boolean
isMatchName()
boolean
matches(TopLevelItem item)
-
Methods inherited from class hudson.views.AbstractIncludeExcludeJobFilter
doFilter, exclude, filter, filterItem, getIncludeExcludeTypeString, include, isExcludeMatched, isExcludeUnmatched, isIncludeMatched, isIncludeUnmatched
-
Methods inherited from class hudson.views.ViewJobFilter
all, getDescriptor
-
-
-
-
Method Detail
-
matches
public boolean matches(TopLevelItem item)
- Overrides:
matches
in classAbstractIncludeExcludeJobFilter
-
getRegex
public String getRegex()
-
getValueTypeString
public String getValueTypeString()
-
isMatchName
public boolean isMatchName()
-
isMatchFullName
public boolean isMatchFullName()
-
isMatchDisplayName
public boolean isMatchDisplayName()
-
isMatchFullDisplayName
public boolean isMatchFullDisplayName()
-
getOptions
public RegExJobFilter.Options getOptions()
-
-