jetbrains.buildServer
Interface CollectChangesByIncludeRule
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)
|
Method Summary |
java.util.List<jetbrains.buildServer.vcs.ModificationData> |
collectBuildChanges(jetbrains.buildServer.vcs.VcsRoot root,
java.lang.String fromVersion,
java.lang.String currentVersion,
jetbrains.buildServer.vcs.IncludeRule includeRule)
Collects changes for specified include rule |
collectBuildChanges
java.util.List<jetbrains.buildServer.vcs.ModificationData> collectBuildChanges(jetbrains.buildServer.vcs.VcsRoot root,
java.lang.String fromVersion,
java.lang.String currentVersion,
jetbrains.buildServer.vcs.IncludeRule includeRule)
throws jetbrains.buildServer.vcs.VcsException
- Collects changes for specified include rule
- Parameters:
root - version control root to find changes infromVersion - 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 pathes 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:
jetbrains.buildServer.vcs.VcsException - throw exception if version control settings are incorrect,
or repository is disconnected, or chanegs cannot be collected. Provide readable message for exception, it will
bw shown for users.