jetbrains.buildServer.agent.vcs
Interface UpdateByCheckoutRules

All Superinterfaces:
AgentExtension, AgentVcsExtension, TeamCityExtension, UpdatePolicy

Deprecated. Use UpdateByCheckoutRules2 instead

public interface UpdateByCheckoutRules
extends UpdatePolicy

Implement this interface to support agent side vcs checkout if you want to process CheckoutRules yourself. Consider implementing UpdateByIncludeRules2 interface if you do not need to handle chekout rules processing explicitly.

Since:
4.5

Method Summary
 void updateSources(VcsRoot root, CheckoutRules rules, java.lang.String toVersion, java.io.File destFolder, BuildProgressLogger logger)
          Deprecated. Called to update sources in the specified working directory.
 

Method Detail

updateSources

void updateSources(@NotNull
                   VcsRoot root,
                   @NotNull
                   CheckoutRules rules,
                   @NotNull
                   java.lang.String toVersion,
                   @NotNull
                   java.io.File destFolder,
                   @NotNull
                   BuildProgressLogger logger)
                   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
destFolder - working directory where sources will be updated (root directory for the sources)
root - VCS root
toVersion - version to update sources to
rules - checkout rules to consider during sources updating
Throws:
VcsException - if any error occurs preventing sources update