jetbrains.buildServer.vcs
Interface VcsPersonalSupport


public interface VcsPersonalSupport

Any change for RemoteRun/Pre-Tested commit is represented in full path format. This service is designed for mapping full path format to path relative to VCS root. full path is an absolute path to a file inside VCS repository, composed by the client (IDE or command line runner).

Since:
4.5

Method Summary
 java.util.Collection<java.lang.String> mapFullPath(VcsRootEntry rootEntry, java.lang.String fullPath)
          Converts full path to path (or collection of paths) relative in relation to provided VCS root.
 

Method Detail

mapFullPath

@NotNull
java.util.Collection<java.lang.String> mapFullPath(@NotNull
                                                           VcsRootEntry rootEntry,
                                                           @NotNull
                                                           java.lang.String fullPath)
Converts full path to path (or collection of paths) relative in relation to provided VCS root. Path should not be mapped by checkout rules, this will be done by an upper level code.
Returns a collection, because for some VCS, the source fullPath can be mapped to several target paths. For instance, this is a case for Subversion.

Parameters:
rootEntry - VCS root and checkout rules
fullPath - change path from IDE patch
Returns:
see above
Since:
4.5