Package hudson.views

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

    • RegExJobFilter

      public RegExJobFilter(String regex, String includeExcludeTypeString, String valueTypeString)
    • RegExJobFilter

      @DataBoundConstructor public RegExJobFilter(String regex, String includeExcludeTypeString, String valueTypeString, boolean matchName, boolean matchFullName, boolean matchDisplayName, boolean matchFullDisplayName)
  • Method Details

    • matches

      public boolean matches(TopLevelItem item)
      Overrides:
      matches in class AbstractIncludeExcludeJobFilter
    • 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()