Package jenkins.scm.impl
Class ChangeRequestSCMHeadCategory
java.lang.Object
jenkins.scm.api.SCMCategory<SCMHead>
jenkins.scm.api.SCMHeadCategory
jenkins.scm.impl.ChangeRequestSCMHeadCategory
Standard category for
SCMHead
instances that implement ChangeRequestSCMHead
.- Since:
- 2.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ChangeRequestSCMHeadCategory
TheChangeRequestSCMHeadCategory
singleton with the default naming. -
Constructor Summary
ConstructorDescriptionChangeRequestSCMHeadCategory
(org.jvnet.localizer.Localizable displayName) Constructs aChangeRequestSCMHeadCategory
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
TheChangeRequestSCMHeadCategory
singleton with the default naming.
-
-
Constructor Details
-
ChangeRequestSCMHeadCategory
public ChangeRequestSCMHeadCategory(@NonNull org.jvnet.localizer.Localizable displayName) Constructs aChangeRequestSCMHeadCategory
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
.
-