jetbrains.buildServer.vcs
Interface VcsRootInstance

All Superinterfaces:
SVcsRoot, VcsRoot, XmlExternalizable

public interface VcsRootInstance
extends SVcsRoot

Represents instance of VCS root settings (i.e. settings with all parameters resolved).

Since:
6.5

Field Summary
 
Fields inherited from interface jetbrains.buildServer.vcs.VcsRoot
SECURE_PROPERTY_PREFIX
 
Method Summary
 RepositoryVersion getCurrentRevision()
           
 RepositoryVersion getLastUsedRevision()
           
 SVcsRoot getParent()
           
 long getParentId()
           
 
Methods inherited from interface jetbrains.buildServer.vcs.SVcsRoot
checkAccessibleFrom, checkAccessibleFrom, getDescription, getModificationCheckInterval, getScope, getUsages, getVcsDisplayName, isAccessibleFrom, isUseDefaultModificationCheckInterval, restoreDefaultModificationCheckInterval, setModificationCheckInterval
 
Methods inherited from interface jetbrains.buildServer.vcs.VcsRoot
convertToPresentableString, convertToString, getId, getName, getProperties, getPropertiesHash, getProperty, getProperty, getPublicProperties, getVcsName
 
Methods inherited from interface jetbrains.buildServer.XmlExternalizable
writeTo
 

Method Detail

getCurrentRevision

@Nullable
RepositoryVersion getCurrentRevision()
                                     throws VcsException
Returns:
current revision in VCS for this VCS root (same as VcsSupportCore.getCurrentVersion(VcsRoot)).
Throws:
VcsException
Since:
6.5

getLastUsedRevision

@Nullable
RepositoryVersion getLastUsedRevision()
Returns:
previous revision used to collect changes by this VCS root
Since:
6.5

getParentId

long getParentId()
Returns:
id of the parent VCS root object which unresolved parameters were used to construct this instance.

getParent

@NotNull
SVcsRoot getParent()
Returns:
parent VCS root object which unresolved parameters were used to construct this instance.