Package hudson.views
Class ParameterFilter
- java.lang.Object
-
- hudson.views.ViewJobFilter
-
- hudson.views.AbstractIncludeExcludeJobFilter
-
- hudson.views.ParameterFilter
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ViewJobFilter>
,RunMatcher
public class ParameterFilter extends AbstractIncludeExcludeJobFilter implements RunMatcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ParameterFilter.DescriptorImpl
-
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 ParameterFilter(String includeExcludeTypeString, String nameRegex, String valueRegex, String descriptionRegex, boolean useDefaultValue, boolean matchAllBuilds, int maxBuildsToMatch, boolean matchBuildsInProgress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescriptionRegex()
int
getMaxBuildsToMatch()
String
getNameRegex()
protected String
getStringValue(ParameterDefinition definition)
protected String
getStringValue(ParameterValue value)
String
getValueRegex()
boolean
isMatchAllBuilds()
boolean
isMatchBuildsInProgress()
boolean
isUseDefaultValue()
protected boolean
matches(TopLevelItem item)
protected boolean
matchesBuildValue(Job job)
protected boolean
matchesDefaultValue(Job job)
boolean
matchesParameter(String name, String value, boolean isValueMultiline, String description)
boolean
matchesRun(Run run)
-
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
protected boolean matches(TopLevelItem item)
- Overrides:
matches
in classAbstractIncludeExcludeJobFilter
-
matchesDefaultValue
protected boolean matchesDefaultValue(Job job)
-
matchesBuildValue
protected boolean matchesBuildValue(Job job)
-
matchesRun
public boolean matchesRun(Run run)
- Specified by:
matchesRun
in interfaceRunMatcher
-
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()
-
-