public final class TagSCMHeadCategory extends SCMHeadCategory
SCMHead
instances that implement TagSCMHead
.Modifier and Type | Field and Description |
---|---|
static TagSCMHeadCategory |
DEFAULT
The
TagSCMHeadCategory singleton with the default naming. |
Constructor and Description |
---|
TagSCMHeadCategory(org.jvnet.localizer.Localizable displayName)
Constructs a
TagSCMHeadCategory with customized naming. |
Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(SCMHead instance)
Checks if the supplied instance is a match for this
SCMCategory . |
addUncategorizedIfMissing, collect, collectAndSimplify, defaultDisplayName, simplify, union
getDisplayName, getName, group, group, isMatch, isUncategorized, toDisplayName, toDisplayName, toShortUrl, toShortUrl
public static final TagSCMHeadCategory DEFAULT
TagSCMHeadCategory
singleton with the default naming.public TagSCMHeadCategory(@NonNull org.jvnet.localizer.Localizable displayName)
TagSCMHeadCategory
with customized naming. Use this constructor when the generic
naming is not appropriate terminology for the specific SCMSource
's naming of change requests.displayName
- the display name for change requests.public boolean isMatch(@NonNull SCMHead instance)
SCMCategory
.isMatch
in class SCMCategory<SCMHead>
instance
- the instance to test.true
if the instance belongs to this SCMCategory
.Copyright © 2016–2022. All rights reserved.