Package jetbrains.buildServer.agent.vcs
Interface UpdateByCheckoutRules
-
- All Superinterfaces:
AgentExtension
,AgentVcsExtension
,TeamCityExtension
,UpdatePolicy
@Deprecated @UserImplemented public interface UpdateByCheckoutRules extends UpdatePolicy
Deprecated.Use UpdateByCheckoutRules2 insteadImplement this interface to support agent side vcs checkout if you want to process CheckoutRules yourself. Consider implementingUpdateByIncludeRules2
interface if you do not need to handle checkout rules processing explicitly.- Since:
- 4.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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 loggerdestFolder
- working directory where sources will be updated (root directory for the sources)root
- VCS roottoVersion
- version to update sources torules
- checkout rules to consider during sources updating- Throws:
VcsException
- if any error occurs preventing sources update- Since:
- 4.5
-
-