jetbrains.buildServer.vcs
Interface BuildPatchByIncludeRules
- All Superinterfaces:
- BuildPatchPolicy
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 by BuildPatchByCheckoutRules
- Since:
- 4.5
- See Also:
BuildPatchByCheckoutRules,
CheckoutRules,
IncludeRule,
IncludeRulePatchBuilder
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 is null 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