@Deprecated @UserImplemented public interface UpdateByIncludeRules extends UpdatePolicy
UpdateByCheckoutRules2instead, if you need to explicitly handle checkout rules.
|Modifier and Type||Method and Description|
Factory method that is used to create checkout-by-include rule implementation that will be called for each include rule from CheckoutRules.
IncludeRuleUpdater getUpdater(@NotNull VcsRoot root, @NotNull CheckoutRules checkoutRules, @NotNull java.lang.String toVersion, @NotNull java.io.File checkoutDirectory, @NotNull BuildProgressLogger logger) throws VcsException
IncludeRuleUpdater.dispose()is called at the end of include rules processing. BuildProgressLogger can be used to add messages in the build log.
root- VCS root
checkoutRules- checkout rules of entire checkout operation
toVersion- version to update sources to
checkoutDirectory- working directory where sources will be updated (root directory for the sources)
logger- build progress logger
IncludeRuleUpdaterthat will be called for each include rule to perform checkout operation. if any error occurs preventing sources update
VcsException- on VCS error