jetbrains.buildServer
Interface CollectChangesByIncludeRule


Deprecated. Use CollectChangesByIncludeRules instead

public interface CollectChangesByIncludeRule

Collects changes for one particular include rule. Used from VcsSupportUtil.collectBuildChanges(jetbrains.buildServer.vcs.VcsRoot, String, String, jetbrains.buildServer.vcs.CheckoutRules, CollectChangesByIncludeRule)

See Also:
CollectChangesByIncludeRules

Method Summary
 java.util.List<ModificationData> collectBuildChanges(VcsRoot root, java.lang.String fromVersion, java.lang.String currentVersion, IncludeRule includeRule)
          Deprecated. Collects changes for specified include rule
 

Method Detail

collectBuildChanges

java.util.List<ModificationData> collectBuildChanges(VcsRoot root,
                                                     java.lang.String fromVersion,
                                                     java.lang.String currentVersion,
                                                     IncludeRule includeRule)
                                                     throws VcsException
Deprecated. 
Collects changes for specified include rule

Parameters:
root - version control root to find changes in
fromVersion - repository version to find changes from (excluding this version)
currentVersion - repository version to find changes to (including this version)
includeRule - rule to find changes for. File paths in providing changes have to be calculated relatively for this include rule. For example, if there is svn change, root url is svn://host/project/branch/src; include rule is package=>package; changed file url is svn://host/project/branch/src/package/AClass.java; file path in modification should be package/AClass.java
Returns:
result changes collection
Throws:
VcsException - throw exception if version control settings are incorrect, or repository is disconnected, or changes cannot be collected. Provide readable message for exception, it will be shown for users.