Class ChangeRequestSCMHeadCategory


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

  • Constructor Details

    • ChangeRequestSCMHeadCategory

      public ChangeRequestSCMHeadCategory(@NonNull org.jvnet.localizer.Localizable displayName)
      Constructs a ChangeRequestSCMHeadCategory 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.