Class SubscribeSection


  • public class SubscribeSection
    extends Object
    Portion of a Project describing superproject subscription rules.
    • Constructor Detail

    • Method Detail

      • addMatchingRefSpec

        public void addMatchingRefSpec​(org.eclipse.jgit.transport.RefSpec spec)
      • addMatchingRefSpec

        public void addMatchingRefSpec​(String spec)
      • addMultiMatchRefSpec

        public void addMultiMatchRefSpec​(String spec)
      • appliesTo

        public boolean appliesTo​(BranchNameKey branch)
        Determines if the branch could trigger a superproject update as allowed via this subscribe section.
        Parameters:
        branch - the branch to check
        Returns:
        if the branch could trigger a superproject update
      • getMatchingRefSpecs

        public Collection<org.eclipse.jgit.transport.RefSpec> getMatchingRefSpecs()
      • getMultiMatchRefSpecs

        public Collection<org.eclipse.jgit.transport.RefSpec> getMultiMatchRefSpecs()