public interface LVcsRootInstance extends LVcsRoot
SECURE_PROPERTY_PREFIX| Modifier and Type | Method and Description |
|---|---|
<T extends VcsService> |
findService(java.lang.Class<T> serviceClass,
CheckoutRules checkoutRules)
Return Vcs service specified by a class passed to the method, or null if the service is not available to the VCS Root instance.
|
long |
getCheckoutPropertiesHash(boolean serverSideCheckout) |
long |
getParentId() |
<T extends VcsService> |
getService(java.lang.Class<T> serviceClass)
Return Vcs service specified by a class passed to the method.
|
<T extends VcsService> |
getService(java.lang.Class<T> serviceClass,
CheckoutRules checkoutRules)
Return Vcs service specified by a class passed to the method.
|
VcsRootStatus |
getStatus() |
java.lang.String |
getVersionDisplayName(java.lang.String version)
Creates human-readable revision representation,
it's likely to make this method unused by reporting all
data strait from VCS plugins
|
boolean |
isCurrentVersionExpensive() |
getDescription, getVcsDisplayNamegetId, getName, getProperties, getProperty, getProperty, getVcsNameboolean isCurrentVersionExpensive()
long getParentId()
@NotNull
java.lang.String getVersionDisplayName(@NotNull
java.lang.String version)
throws VcsException
version - version to representVcsException - in case of any errorlong getCheckoutPropertiesHash(boolean serverSideCheckout)
serverSideCheckout - if true, the hash is calculated for server-side checkout (there could be different hash sets for agent-side checkout and server-side checkout operations)VcsSupportConfig.getCheckoutProperties(VcsRoot) and VcsSupportConfig.getServerCheckoutProperties(VcsRoot).@NotNull <T extends VcsService> T getService(@NotNull java.lang.Class<T> serviceClass) throws VcsException
serviceClass - VCS service class, for services which do not use checkout rules, see VcsServiceVcsException - if service cannot be found/createdfindService(Class,CheckoutRules)<T extends VcsService> T getService(@NotNull java.lang.Class<T> serviceClass, @NotNull CheckoutRules checkoutRules) throws VcsException
serviceClass - VCS service class, for services which do not use checkout rules, see VcsServicecheckoutRules - checkout rulesVcsException - if service cannot be found/createdfindService(Class,CheckoutRules)@Nullable <T extends VcsService> T findService(@NotNull java.lang.Class<T> serviceClass, @NotNull CheckoutRules checkoutRules)
serviceClass - VCS service class, for services which do not use checkout rules, see VcsServicecheckoutRules - Checkout rules which should be passed to the service.getService(Class)@NotNull VcsRootStatus getStatus()