jetbrains.buildServer.agent.vcs
Interface CheckoutOnAgentVcsSupport

All Superinterfaces:
AgentExtension, TeamCityExtension

Deprecated. use provide several AgentVcsExtension implementations. For more details, see AgentVcsRegistry

public interface CheckoutOnAgentVcsSupport
extends AgentExtension

Implement this interface to provide checkout on agent support for VCS plugin.


Method Summary
 java.lang.String getName()
          Deprecated. Name of the VCS plugin.
 void updateSources(BuildProgressLogger logger, java.io.File workingDirectory, VcsRoot root, java.lang.String newVersion, IncludeRule includeRule)
          Deprecated. Called to update sources in the specified working directory.
 

Method Detail

updateSources

void updateSources(@NotNull
                   BuildProgressLogger logger,
                   @NotNull
                   java.io.File workingDirectory,
                   @NotNull
                   VcsRoot root,
                   @NotNull
                   java.lang.String newVersion,
                   @NotNull
                   IncludeRule includeRule)
                   throws VcsException
Deprecated. 
Called to update sources in the specified working directory. Sources must be updated to the specified version. BuildProgressLogger can be used to add messages in the build log.

Parameters:
logger - build progress logger
workingDirectory - working directory where sources will be updated (root directory for the sources)
root - VCS root
newVersion - version to update sources to
includeRule - checkout rule to consider during sources updating
Throws:
VcsException - if any error occurs preventing sources update

getName

@NotNull
java.lang.String getName()
Deprecated. 
Name of the VCS plugin. Should be the same as VcsSupportConfig.getName()

Returns:
see above