Package jenkins.scm.impl
Class TagSCMHeadCategory
java.lang.Object
jenkins.scm.api.SCMCategory<SCMHead>
jenkins.scm.api.SCMHeadCategory
jenkins.scm.impl.TagSCMHeadCategory
Standard category for
SCMHead
instances that implement TagSCMHead
.- Since:
- 2.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TagSCMHeadCategory
TheTagSCMHeadCategory
singleton with the default naming. -
Constructor Summary
ConstructorDescriptionTagSCMHeadCategory
(org.jvnet.localizer.Localizable displayName) Constructs aTagSCMHeadCategory
with customized naming. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the supplied instance is a match for thisSCMCategory
.Methods inherited from class jenkins.scm.api.SCMHeadCategory
addUncategorizedIfMissing, collect, collectAndSimplify, defaultDisplayName, simplify, union
Methods inherited from class jenkins.scm.api.SCMCategory
getDisplayName, getName, group, group, isMatch, isUncategorized, toDisplayName, toDisplayName, toShortUrl, toShortUrl
-
Field Details
-
DEFAULT
TheTagSCMHeadCategory
singleton with the default naming.
-
-
Constructor Details
-
TagSCMHeadCategory
public TagSCMHeadCategory(@NonNull org.jvnet.localizer.Localizable displayName) Constructs aTagSCMHeadCategory
with customized naming. Use this constructor when the generic naming is not appropriate terminology for the specificSCMSource
's naming of change requests.- Parameters:
displayName
- the display name for change requests.
-
-
Method Details
-
isMatch
Checks if the supplied instance is a match for thisSCMCategory
.- Specified by:
isMatch
in classSCMCategory<SCMHead>
- Parameters:
instance
- the instance to test.- Returns:
true
if the instance belongs to thisSCMCategory
.
-