Class VcsRootEntry

  • All Implemented Interfaces:
    jetbrains.buildServer.log.Loggable, VcsDataObject
    Direct Known Subclasses:
    VcsRootInstanceEntry

    public class VcsRootEntry
    extends VcsSettings
    A pair of VcsRoot and associated CheckoutRules. Usually several such pairs are associated with a build configuration.
    • Constructor Detail

      • VcsRootEntry

        public VcsRootEntry​(@NotNull
                            VcsRoot vcsRoot,
                            @NotNull
                            CheckoutRules checkoutRules)
        create VcsRootEntry
        Parameters:
        vcsRoot - corresponding VCS root for the entry
        checkoutRules - rules for checking out vcsRoot sources to the build agent
    • Method Detail

      • getCheckoutRules

        @NotNull
        public CheckoutRules getCheckoutRules()
        Returns:
        Checkout rules used to obtain sources of the corresponding VCS root
      • getSignature

        @NotNull
        public java.lang.String getSignature()
        Returns signature of this VCS root entry. Signature is a string composed of vcs root id, vcs root properties and checkout rules. This signature uniquely identifies VCS root entry settings and can be used as a key in various caches.
        Returns:
        signature of the VCS root entry.
      • getCheckoutRulesSpecification

        @NotNull
        public java.lang.String getCheckoutRulesSpecification()
        Overrides:
        getCheckoutRulesSpecification in class VcsSettings
        Returns:
        checkout rules specification
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class VcsSettings