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

    Constructors
    Constructor
    Description
    ReleaseSCMHeadCategory(org.jvnet.localizer.Localizable displayName)
    Constructs a ReleaseSCMHeadCategory with customized naming.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isMatch(jenkins.scm.api.SCMHead instance)

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ReleaseSCMHeadCategory

      public ReleaseSCMHeadCategory(@NonNull org.jvnet.localizer.Localizable displayName)
      Constructs a ReleaseSCMHeadCategory with customized naming. Use this constructor when the generic naming is not appropriate terminology for the specific SCMSource'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:
      isMatch in class jenkins.scm.api.SCMCategory<jenkins.scm.api.SCMHead>