Package jetbrains.buildServer.vcs
Class VcsRootEntry
- java.lang.Object
-
- jetbrains.vcs.api.VcsSettings
-
- 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
Constructors Constructor Description VcsRootEntry(VcsRoot vcsRoot, CheckoutRules checkoutRules)
create VcsRootEntry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
CheckoutRules
getCheckoutRules()
java.lang.String
getCheckoutRulesSpecification()
java.lang.String
getSignature()
Returns signature of this VCS root entry.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class jetbrains.vcs.api.VcsSettings
describe, getDisplayName, getProperties, getSettingsId, getSshKeys, getVcsName, getVcsRoot
-
-
-
-
Constructor Detail
-
VcsRootEntry
public VcsRootEntry(@NotNull VcsRoot vcsRoot, @NotNull CheckoutRules checkoutRules)
create VcsRootEntry- Parameters:
vcsRoot
- corresponding VCS root for the entrycheckoutRules
- 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 classVcsSettings
- Returns:
- checkout rules specification
-
toString
public java.lang.String toString()
- Overrides:
toString
in classVcsSettings
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classVcsSettings
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classVcsSettings
-
-