Package jetbrains.buildServer.vcs
Interface BuildPatchByIncludeRules
-
- All Superinterfaces:
BuildPatchPolicy
,VcsExtension
public interface BuildPatchByIncludeRules extends BuildPatchPolicy
This patch building policy implies using IncludeRule for narrowing scope of source files. A more complex (but giving more control over performance) approach is presented byBuildPatchByCheckoutRules
- Since:
- 4.5
- See Also:
BuildPatchByCheckoutRules
,CheckoutRules
,IncludeRule
,IncludeRulePatchBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IncludeRulePatchBuilder
getPatchBuilder(VcsRoot root, java.lang.String fromVersion, java.lang.String toVersion)
Returns an object that would handle calls for each include rule found in the checkout rules.
-
-
-
Method Detail
-
getPatchBuilder
@NotNull IncludeRulePatchBuilder getPatchBuilder(@NotNull VcsRoot root, @Nullable java.lang.String fromVersion, @NotNull java.lang.String toVersion)
Returns an object that would handle calls for each include rule found in the checkout rules. This object could contain common data that should be shared between all calls (e.g. connection, caches, etc.).- Parameters:
root
- VCS RootfromVersion
- version to get sources differences from. If this version isnull
all sources at version toVersion should be taken.toVersion
- version to get sources differences to.- Returns:
- the object that would handle calls for each include rule
- See Also:
IncludeRule
,IncludeRulePatchBuilder
-
-