Class GroupingRule

    • Constructor Detail

      • GroupingRule

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

        public GroupingRule​(String groupRegex,
                            String namingRule)
    • Method Detail

      • 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()