|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VcsSupportCore
The entry point for custom VCS support API
| Method Summary | |
|---|---|
boolean |
allowSourceCaching()
|
java.lang.String |
getCurrentVersion(VcsRoot root)
Returns version mark version control is currenly in (like last committed change list number for Perforce, or current date for CVS). |
boolean |
isCurrentVersionExpensive()
If the obtaining current version is an expensive operation (see getCurrentVersion(VcsRoot))
the implementation may optimize performance by returning true. |
boolean |
sourcesUpdatePossibleIfChangesNotFound(VcsRoot root)
Must return true if source files in the build checkout directory can be updated even if no changes were detected between some versions. |
| Methods inherited from interface jetbrains.buildServer.vcs.VcsSupportConfig |
|---|
describeVcsRoot, getDefaultVcsProperties, getDisplayName, getName, getVcsPropertiesProcessor, getVcsSettingsJspFilePath, getVersionComparator, getVersionDisplayName, isAgentSideCheckoutAvailable |
| Method Detail |
|---|
@NotNull
java.lang.String getCurrentVersion(@NotNull
VcsRoot root)
throws VcsException
root - - current configuration
VcsException - throw this exception if some problem occurred while
collecting chanegs or changes cannot be collected because of invalid configuration.
Localized message will be shown on the web page for the corresponding project.boolean isCurrentVersionExpensive()
getCurrentVersion(VcsRoot))
the implementation may optimize performance by returning true. In this case collecting changes for the current version
will be done without specifying upper version. Otherwise getCurrentVersion(VcsRoot) will be called first
and then the result will be passed to the change collector as the upper version.
CollectChangesPolicyboolean allowSourceCaching()
boolean sourcesUpdatePossibleIfChangesNotFound(@NotNull
VcsRoot root)
root - VCS root
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||