Package hudson.views

Class UserRelevanceFilter

All Implemented Interfaces:
ExtensionPoint, Describable<ViewJobFilter>, RunMatcher

public class UserRelevanceFilter extends AbstractBuildTrendFilter
Filters jobs that are relevant to the user.
Author:
Jacob.Robertson
  • Constructor Details

    • 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 Details

    • matches

      protected boolean matches(TopLevelItem item)
      Overrides:
      matches in class AbstractBuildTrendFilter
    • matchesRun

      public boolean matchesRun(Run run)
    • runMatches

      public boolean runMatches(String userName, boolean matchAgainstFullName, Run run)
    • normalize

      public String normalize(String userName)
    • matchesEmail

      public boolean matchesEmail(TopLevelItem item)
    • matchesEmail

      public boolean matchesEmail(TopLevelItem item, String user)
    • matchesEmail

      public boolean matchesEmail(List<String> emails, String user)
    • matchSplitEmailToUserNames

      public boolean matchSplitEmailToUserNames(String user, String email)
    • matchesUserCause

      public boolean matchesUserCause(String userName, boolean matchAgainstFullName, Run run)
    • getUserValue

      public String getUserValue(Cause cause, boolean matchAgainstFullName)
    • getUserValue

      public String getUserValue(Cause cause, String methodName)
    • 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()