Class TagSCMHeadCategory


public final class TagSCMHeadCategory extends SCMHeadCategory
Standard category for SCMHead instances that implement TagSCMHead.
Since:
2.0
  • Field Details

  • Constructor Details

    • TagSCMHeadCategory

      public TagSCMHeadCategory(@NonNull org.jvnet.localizer.Localizable displayName)
      Constructs a TagSCMHeadCategory 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 SCMHead instance)
      Checks if the supplied instance is a match for this SCMCategory.
      Specified by:
      isMatch in class SCMCategory<SCMHead>
      Parameters:
      instance - the instance to test.
      Returns:
      true if the instance belongs to this SCMCategory.