Package hudson.views
Class UserRelevanceFilter
- java.lang.Object
-
- hudson.views.ViewJobFilter
-
- hudson.views.AbstractIncludeExcludeJobFilter
-
- hudson.views.AbstractBuildTrendFilter
-
- hudson.views.UserRelevanceFilter
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ViewJobFilter>
,RunMatcher
public class UserRelevanceFilter extends AbstractBuildTrendFilter
Filters jobs that are relevant to the user.- Author:
- Jacob.Robertson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserRelevanceFilter.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.views.AbstractBuildTrendFilter
AbstractBuildTrendFilter.AmountType, AbstractBuildTrendFilter.BuildCountType
-
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 UserRelevanceFilter(boolean matchUserId, boolean matchUserFullName, boolean ignoreCase, boolean ignoreWhitespace, boolean ignoreNonAlphaNumeric, boolean matchBuilder, boolean matchEmail, boolean matchScmChanges, String buildCountTypeString, float amount, String amountTypeString, String includeExcludeTypeString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUserValue(Cause cause, boolean matchAgainstFullName)
String
getUserValue(Cause cause, String methodName)
boolean
isIgnoreCase()
boolean
isIgnoreNonAlphaNumeric()
boolean
isIgnoreWhitespace()
boolean
isMatchBuilder()
boolean
isMatchEmail()
boolean
isMatchScmChanges()
boolean
isMatchUserFullName()
boolean
isMatchUserId()
protected boolean
matches(TopLevelItem item)
boolean
matchesChangeLog(String userName, boolean matchAgainstFullName, Run run)
boolean
matchesEmail(TopLevelItem item)
boolean
matchesEmail(TopLevelItem item, String user)
boolean
matchesEmail(List<String> emails, String user)
boolean
matchesRun(Run run)
boolean
matchesUserCause(String userName, boolean matchAgainstFullName, Run run)
boolean
matchSplitEmailToUserNames(String user, String email)
String
normalize(String userName)
boolean
runMatches(String userName, boolean matchAgainstFullName, Run run)
-
Methods inherited from class hudson.views.AbstractBuildTrendFilter
getAmount, getAmountTypeString, getBuildCountTypeString
-
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
-
-
-
-
Constructor Detail
-
UserRelevanceFilter
@DataBoundConstructor public UserRelevanceFilter(boolean matchUserId, boolean matchUserFullName, boolean ignoreCase, boolean ignoreWhitespace, boolean ignoreNonAlphaNumeric, boolean matchBuilder, boolean matchEmail, boolean matchScmChanges, String buildCountTypeString, float amount, String amountTypeString, String includeExcludeTypeString)
-
-
Method Detail
-
matches
protected boolean matches(TopLevelItem item)
- Overrides:
matches
in classAbstractBuildTrendFilter
-
matchesRun
public boolean matchesRun(Run run)
-
matchesEmail
public boolean matchesEmail(TopLevelItem item)
-
matchesEmail
public boolean matchesEmail(TopLevelItem item, String user)
-
matchesUserCause
public boolean matchesUserCause(String userName, boolean matchAgainstFullName, Run run)
-
matchesChangeLog
public boolean matchesChangeLog(String userName, boolean matchAgainstFullName, Run run)
-
isMatchUserId
public boolean isMatchUserId()
-
isMatchUserFullName
public boolean isMatchUserFullName()
-
isIgnoreCase
public boolean isIgnoreCase()
-
isIgnoreWhitespace
public boolean isIgnoreWhitespace()
-
isIgnoreNonAlphaNumeric
public boolean isIgnoreNonAlphaNumeric()
-
isMatchBuilder
public boolean isMatchBuilder()
-
isMatchEmail
public boolean isMatchEmail()
-
isMatchScmChanges
public boolean isMatchScmChanges()
-
-