jetbrains.buildServer.vcs
Interface BuildPatchByIncludeRule


public interface BuildPatchByIncludeRule

Implement the interface to use VcsSupportUtil.collectBuildChanges(VcsRoot, String, String, CheckoutRules, jetbrains.buildServer.CollectChangesByIncludeRule) helper method.


Method Summary
 void buildPatch(jetbrains.buildServer.vcs.VcsRoot root, java.lang.String fromVersion, java.lang.String toVersion, PatchBuilder builder, jetbrains.buildServer.vcs.IncludeRule includeRule)
          Builds path for the specified project subfolder.
 

Method Detail

buildPatch

void buildPatch(jetbrains.buildServer.vcs.VcsRoot root,
                java.lang.String fromVersion,
                java.lang.String toVersion,
                PatchBuilder builder,
                jetbrains.buildServer.vcs.IncludeRule includeRule)
                throws java.io.IOException,
                       jetbrains.buildServer.vcs.VcsException
Builds path for the specified project subfolder.

Parameters:
root - vcs settings.
fromVersion - version to get sources differences from. If this version is null all sources should be got.
toVersion - version to get sources differences to.
builder - patch builder.
includeRule - include rule specifies VCS relative path to get sources. Implementation have to use only IncludeRule#getFrom() to get relative VCS path suffix to checkout. All other necessary path mappings are done implicitly by VcsSupportUtil
Throws:
java.io.IOException - exception occurred while operating with builder.
VcsException - exception occurred while operating with version control.