@Deprecated @UserImplemented public interface UpdateByCheckoutRules extends UpdatePolicy
UpdateByIncludeRules2
interface if you do not need to handle checkout rules processing explicitly.Modifier and Type | Method and 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.
|
void updateSources(@NotNull VcsRoot root, @NotNull CheckoutRules rules, @NotNull java.lang.String toVersion, @NotNull java.io.File destFolder, @NotNull BuildProgressLogger logger) throws VcsException
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 updatingVcsException
- if any error occurs preventing sources update