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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroupingRule.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GroupingRule(String groupRegex, String namingRule)
GroupingRule(String groupRegex, String namingRule, boolean useDisplayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroupRegex()
String
getNamingRule()
boolean
getUseDisplayName()
String
groupNameGivenItem(TopLevelItem item)
-
Methods inherited from class org.jenkinsci.plugins.categorizedview.CategorizationCriteria
all, getDescriptor
-
-
-
-
Method Detail
-
groupNameGivenItem
public String groupNameGivenItem(TopLevelItem item)
- Specified by:
groupNameGivenItem
in classCategorizationCriteria
- 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()
-
-