Class XmlRpcBasedVersionControlServer
- java.lang.Object
-
- jetbrains.buildServer.remoteHandlers.XmlRpcBasedVersionControlServer
-
- All Implemented Interfaces:
RemoteVersionControlServer
public class XmlRpcBasedVersionControlServer extends Object implements RemoteVersionControlServer
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.serverProxy.RemoteVersionControlServer
VERSION_CONTROL_SERVER
-
-
Constructor Summary
Constructors Constructor Description XmlRpcBasedVersionControlServer(SuitableConfigurationsProvider suitableConfigurationsProvider, ServerMetrics serverMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector
getRelatedConfigurations(Vector filePaths)
Provides collection of configuration ids.Vector
getSuitableConfigurations(Vector filePaths)
Provides collection of configuration ids.
-
-
-
Constructor Detail
-
XmlRpcBasedVersionControlServer
public XmlRpcBasedVersionControlServer(@NotNull SuitableConfigurationsProvider suitableConfigurationsProvider, @NotNull ServerMetrics serverMetrics)
-
-
Method Detail
-
getSuitableConfigurations
public Vector getSuitableConfigurations(Vector filePaths)
Description copied from interface:RemoteVersionControlServer
Provides collection of configuration ids. These are all configurations which are suitable for at least one of the given file paths.- Specified by:
getSuitableConfigurations
in interfaceRemoteVersionControlServer
- Parameters:
filePaths
- list of strings. Full file paths in version control repository.- Returns:
- union of configurations suitable for given files.
-
getRelatedConfigurations
public Vector getRelatedConfigurations(Vector filePaths)
Description copied from interface:RemoteVersionControlServer
Provides collection of configuration ids. These are all configurations which relate to at least one of the given file paths. Result collection contains all suitable configurations for the specified files, but also can contain configurations which are not exactly suitable, but would be if their VCS roots is less specific (has path "a/b" instead of "a/b/c").- Specified by:
getRelatedConfigurations
in interfaceRemoteVersionControlServer
- Parameters:
filePaths
- list of strings. Full file paths in version control repository.- Returns:
- union of configurations related to given files.
-
-