jetbrains.buildServer.vcs
Class VcsRootEntry

java.lang.Object
  extended by jetbrains.vcs.api.VcsSettings
      extended by jetbrains.buildServer.vcs.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 Summary
VcsRootEntry(VcsRoot vcsRoot, CheckoutRules checkoutRules)
          create VcsRootEntry
 
Method Summary
 CheckoutRules getCheckoutRules()
           
 java.lang.String getSignature()
          Returns signature of this VCS root entry.
 java.lang.String toString()
           
 
Methods inherited from class jetbrains.vcs.api.VcsSettings
describe, equals, forTest, getCheckoutRulesSpecification, getDisplayName, getProperties, getSettingsId, getVcsName, getVcsRoot, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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.

toString

public java.lang.String toString()
Overrides:
toString in class VcsSettings