Package org.jenkinsci.plugin.gitea
Class ReleaseSCMHeadCategory
java.lang.Object
jenkins.scm.api.SCMCategory<jenkins.scm.api.SCMHead>
jenkins.scm.api.SCMHeadCategory
org.jenkinsci.plugin.gitea.ReleaseSCMHeadCategory
public class ReleaseSCMHeadCategory
extends jenkins.scm.api.SCMHeadCategory
Category for
SCMHead instances that implement ReleaseSCMHead.-
Constructor Summary
ConstructorsConstructorDescriptionReleaseSCMHeadCategory(org.jvnet.localizer.Localizable displayName) Constructs aReleaseSCMHeadCategorywith customized naming. -
Method Summary
Methods inherited from class jenkins.scm.api.SCMHeadCategory
addUncategorizedIfMissing, collect, collectAndSimplify, defaultDisplayName, simplify, unionMethods inherited from class jenkins.scm.api.SCMCategory
getDisplayName, getName, group, group, isMatch, isUncategorized, toDisplayName, toDisplayName, toShortUrl, toShortUrl
-
Constructor Details
-
ReleaseSCMHeadCategory
public ReleaseSCMHeadCategory(@NonNull org.jvnet.localizer.Localizable displayName) Constructs aReleaseSCMHeadCategorywith 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
public boolean isMatch(@NonNull jenkins.scm.api.SCMHead instance) - Specified by:
isMatchin classjenkins.scm.api.SCMCategory<jenkins.scm.api.SCMHead>
-