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
| Methods inherited from interface jetbrains.buildServer.vcs.SVcsRoot |
checkAccessibleFrom, checkAccessibleFrom, getDescription, getModificationCheckInterval, getScope, getUsages, getVcsDisplayName, isAccessibleFrom, isUseDefaultModificationCheckInterval, restoreDefaultModificationCheckInterval, setModificationCheckInterval |
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.