ServerVcsSupport instead@Deprecated public abstract class VcsSupport extends ServerVcsSupport implements CollectSingleStateChangesByCheckoutRules, BuildPatchByCheckoutRules, VcsFileContentProvider, VcsSupportConfig, TestConnectionSupport
AgentSideCheckoutAbility marker indicates that the support allows to check sources out on agent.
VcsPersonalSupport produces possibility to match full version control file path into relative one.
| Constructor and Description |
|---|
VcsSupport()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowSourceCaching()
Deprecated.
This method is a part of the new VCS support API and isn't called for derivatives of VcsSupport.
|
abstract java.util.List<ModificationData> |
collectBuildChanges(VcsRoot root,
java.lang.String fromVersion,
java.lang.String currentVersion,
CheckoutRules checkoutRules)
Deprecated.
|
java.util.List<ModificationData> |
collectChanges(VcsRoot root,
java.lang.String fromVersion,
java.lang.String currentVersion,
CheckoutRules checkoutRules)
Deprecated.
Returns list of the changes between two revisions given.
|
BuildPatchByCheckoutRules |
getBuildPatchPolicy()
Deprecated.
|
CollectChangesPolicy |
getCollectChangesPolicy()
Deprecated.
|
VcsFileContentProvider |
getContentProvider()
Deprecated.
|
TestConnectionSupport |
getTestConnectionSupport()
Deprecated.
|
boolean |
isAgentSideCheckoutAvailable()
Deprecated.
|
boolean |
isCurrentVersionExpensive()
Deprecated.
If the obtaining current version is an expensive operation (see CollectSingleStatePolicy#getCurrentVersion(VcsRoot)})
the implementation may optimize performance by returning
true. |
abstract boolean |
isTestConnectionSupported()
Deprecated.
Returns true if test connection is supported
|
boolean |
sourcesUpdatePossibleIfChangesNotFound(VcsRoot root)
Deprecated.
Must return true if source files in the build checkout directory can be updated even if no changes were detected between some versions.
|
getCore, getCurrentVersion, getVcsCustomExtension, getVcsExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentVersionbuildPatchgetContent, getContentdescribeVcsRoot, getCheckoutProperties, getDefaultVcsProperties, getDisplayName, getName, getServerCheckoutProperties, getVcsPropertiesProcessor, getVcsSettingsJspFilePath, getVersionComparator, getVersionDisplayName, isDAGBased, isDAGBasedVcstestConnectiongetLabelingSupport, getListFilesPolicy, getPersonalSupport, getUrlSupportpublic boolean isCurrentVersionExpensive()
VcsSupportCoretrue. In this case collecting changes for the current version
will be done without specifying upper version. Otherwise CollectSingleStatePolicy.getCurrentVersion(VcsRoot) will be called first
and then the result will be passed to the change collector as the upper version.isCurrentVersionExpensive in interface VcsSupportCoreCollectChangesPolicy@NotNull public VcsFileContentProvider getContentProvider()
getContentProvider in interface VcsSupportContext@NotNull public CollectChangesPolicy getCollectChangesPolicy()
getCollectChangesPolicy in interface VcsSupportContextpublic abstract java.util.List<ModificationData> collectBuildChanges(VcsRoot root, @NotNull java.lang.String fromVersion, @NotNull java.lang.String currentVersion, CheckoutRules checkoutRules) throws VcsException
VcsExceptionpublic java.util.List<ModificationData> collectChanges(@NotNull VcsRoot root, @NotNull java.lang.String fromVersion, @Nullable java.lang.String currentVersion, @NotNull CheckoutRules checkoutRules) throws VcsException
CollectSingleStateChangesByCheckoutRulesVcsSupportCore.isCurrentVersionExpensive() if you like to
have null for currentVersioncollectChanges in interface CollectSingleStateChangesByCheckoutRulesroot - current settings.fromVersion - collect changes from this version.currentVersion - collect changes up to this version.checkoutRules - checkout rules built on union of all checkout rules of all configurations connected to the root.
Include rules have 'from' part the same as 'to' one so you can don't map file paths according to include rules.
see jetbrains.buildServer.vcs.VcsSupportUtil#collectBuildChanges(jetbrains.buildServer.vcs.VcsRoot, String, String, jetbrains.buildServer.vcs.CheckoutRules, jetbrains.buildServer.CollectChangesByIncludeRules)
service method, which allows you to collect changes for each root include rule.VcsException - throw this exception if some problem occurred while
collecting changes or changes cannot be collected because of invalid configuration.
Localized message will be shown on the web page for the corresponding project@NotNull public BuildPatchByCheckoutRules getBuildPatchPolicy()
getBuildPatchPolicy in interface VcsSupportContextpublic TestConnectionSupport getTestConnectionSupport()
getTestConnectionSupport in interface VcsSupportContextpublic abstract boolean isTestConnectionSupported()
public boolean isAgentSideCheckoutAvailable()
isAgentSideCheckoutAvailable in interface VcsSupportConfigpublic boolean sourcesUpdatePossibleIfChangesNotFound(@NotNull
VcsRoot root)
VcsSupportCoresourcesUpdatePossibleIfChangesNotFound in interface VcsSupportCoreroot - VCS rootpublic boolean allowSourceCaching()
allowSourceCaching in interface VcsSupportCoreVcsSupportCore.allowSourceCaching()