Class GroupingRule

java.lang.Object
org.jenkinsci.plugins.categorizedview.CategorizationCriteria
org.jenkinsci.plugins.categorizedview.GroupingRule
All Implemented Interfaces:
ExtensionPoint, Describable<CategorizationCriteria>

public class GroupingRule extends CategorizationCriteria
  • Constructor Details

    • GroupingRule

      @DataBoundConstructor public GroupingRule(String groupRegex, String namingRule, boolean useDisplayName)
    • GroupingRule

      public GroupingRule(String groupRegex, String namingRule)
  • Method Details

    • groupNameGivenItem

      public String groupNameGivenItem(TopLevelItem item)
      Specified by:
      groupNameGivenItem in class CategorizationCriteria
      Parameters:
      item - This is the item that will be passed to categorization
      Returns:
      returns the group name, or null if the item can't be categorized
    • getGroupRegex

      public String getGroupRegex()
    • getNamingRule

      public String getNamingRule()
    • getUseDisplayName

      public boolean getUseDisplayName()