Uses of Class
jetbrains.buildServer.vcs.VcsException
-
-
Uses of VcsException in jetbrains
Methods in jetbrains that throw VcsException Modifier and Type Method Description byte[]
MockBuildType. getFileContent(String relativePath)
byte[]
MockBuildType. getFileContent(String relativePath, boolean latest)
List<VcsFile>
MockBuildType. listFiles(String relativePath)
-
Uses of VcsException in jetbrains.buildServer
Methods in jetbrains.buildServer that throw VcsException Modifier and Type Method Description byte[]
MockBuild. getFileContent(String filePath)
-
Uses of VcsException in jetbrains.buildServer.agent.impl.buildStages.startStages
Subclasses of VcsException in jetbrains.buildServer.agent.impl.buildStages.startStages Modifier and Type Class Description class
CleanCheckoutDisabledException
Methods in jetbrains.buildServer.agent.impl.buildStages.startStages that throw VcsException Modifier and Type Method Description void
CleanBuildCheckoutDirectoryIfNeededStage. checkForCleanCheckout()
-
Uses of VcsException in jetbrains.buildServer.agent.impl.patch
Methods in jetbrains.buildServer.agent.impl.patch that throw VcsException Modifier and Type Method Description void
ProjectSourcesOnAgent. checkoutSources(AgentRunningBuildEx build)
protected abstract void
AbstractSourcesUpdater. updateSources()
protected void
UpdateSourcesFromAgent. updateSources()
-
Uses of VcsException in jetbrains.buildServer.agent.impl.vcs
Methods in jetbrains.buildServer.agent.impl.vcs that throw VcsException Modifier and Type Method Description CheckoutSupport
AgentVcsManagerEx. findCheckoutSupport(String name)
CheckoutSupport
AgentVcsManagerExImpl. findCheckoutSupport(String vcsName)
AgentVcsSupportContext
AgentVcsRegistryEx. findVcsSupport(String name)
Searches for vcs plugin implementationAgentVcsSupportContext
AgentVcsRegistryImpl2. findVcsSupport(String name)
-
Uses of VcsException in jetbrains.buildServer.agent.vcs
Methods in jetbrains.buildServer.agent.vcs with parameters of type VcsException Modifier and Type Method Description AgentVcsSupportBuilder
AgentVcsSupportBuilder. withFailingUpdateByCheckoutRules2(VcsException exception)
Methods in jetbrains.buildServer.agent.vcs that throw VcsException Modifier and Type Method Description void
IncludeRuleUpdater. dispose()
Called when all necessary vsc update operation are performed.IncludeRuleUpdater
UpdateByIncludeRules. getUpdater(VcsRoot root, CheckoutRules checkoutRules, String toVersion, File checkoutDirectory, BuildProgressLogger logger)
Deprecated.Factory method that is used to create checkout-by-include rule implementation that will be called for each include rule from CheckoutRules.IncludeRuleUpdater
UpdateByIncludeRules2. getUpdater(VcsRoot root, CheckoutRules checkoutRules, String toVersion, File checkoutDirectory, AgentRunningBuild build, boolean cleanCheckoutRequested)
Factory method that is used to create checkout-by-include rule implementation that will be called for each include rule from CheckoutRules.void
IncludeRuleUpdater. process(IncludeRule rule, File includeRuleDestFolder)
Does vcs update for the include rule to specified folder.void
CheckoutOnAgentVcsSupport. updateSources(BuildProgressLogger logger, File workingDirectory, VcsRoot root, String newVersion, IncludeRule includeRule)
Deprecated.Called to update sources in the specified working directory.void
UpdateByCheckoutRules. updateSources(VcsRoot root, CheckoutRules rules, String toVersion, File destFolder, BuildProgressLogger logger)
Deprecated.Called to update sources in the specified working directory.void
UpdateByCheckoutRules2. updateSources(VcsRoot root, CheckoutRules rules, String toVersion, File destFolder, AgentRunningBuild build, boolean cleanCheckoutRequested)
Called to update sources in the specified working directory. -
Uses of VcsException in jetbrains.buildServer.buildTriggers.vcs
Methods in jetbrains.buildServer.buildTriggers.vcs with parameters of type VcsException Modifier and Type Method Description void
ConnectionStateReporter. reportConnectionFailed(VcsException e, CheckoutRules rule)
void
ConnectionStateReporterImpl. reportConnectionFailed(VcsException e, CheckoutRules rule)
Methods in jetbrains.buildServer.buildTriggers.vcs that throw VcsException Modifier and Type Method Description void
AbstractVcsGetContentTestHelper. checkFileContent(String versBefore, String versAfter, String fileRelativePath, String fileNameInChange)
LoadChangesResult
LoadChanges. collectChanges()
protected abstract List<ModificationData>
AbstractVcsGetContentTestHelper. getModificationDatas(String versBefore, String versAfter, VcsRoot root, CheckoutRules rules)
protected List<ModificationData>
VcsGetContentTestHelper. getModificationDatas(String versBefore, String versAfter, VcsRoot root, CheckoutRules rules)
PersistChangesResult
ChangePersister. persist(List<ModificationData> changes, CheckoutRules commonRules)
Persist collected changes according to checkout rules and emit event modificationPersisted.PersistChangesResult
DetectedChangesPersister. persist(List<ModificationData> changes, CheckoutRules commonRules)
-
Uses of VcsException in jetbrains.buildServer.ideaSettings
Methods in jetbrains.buildServer.ideaSettings that throw VcsException Modifier and Type Method Description void
IprAdapter4Diana. checkDianaProject()
File
IdeaSettings. createIprIfNeeded(File checkoutDir)
InputStream
ContentProvider. getContent(String relativePath)
Get a content of the file from data source represented by this content provider.InputStream
FileContentProvider. getContent(String relativePath)
InputStream
SubdirectoryDecorator. getContent(String relativePath)
InputStream
IprAdapter4Diana. getIprStream()
InputStream
IprAdapter4Diana. getIprStream(int flags)
List<VcsItem>
ContentProvider. listItems(String relativePath)
List available items for given path (both files and directories)List<VcsItem>
FileContentProvider. listItems(String relativePath)
List<VcsItem>
SubdirectoryDecorator. listItems(String relativePath)
-
Uses of VcsException in jetbrains.buildServer.serverProxy
Methods in jetbrains.buildServer.serverProxy that throw VcsException Modifier and Type Method Description byte[]
RemoteBuildServer. getContentAfter(String modificationId, String fileName)
Returns file content, specified by the VcsChange, at the moment right after specified modification has been madebyte[]
RemoteBuildServer. getContentBefore(String modificationId, String fileName)
Returns file content, which corresponded to file before specified modification has been madebyte[]
RemoteBuildServer. getPersonalContentAfter(String modificationId, String fileName)
Returns file content, specified by the VcsChange, at the moment right after specified modification has been made for personal changebyte[]
RemoteBuildServer. getPersonalContentBefore(String modificationId, String fileName)
Returns file content, which corresponded to file before specified modification has been made for personal change -
Uses of VcsException in jetbrains.buildServer.serverSide
Methods in jetbrains.buildServer.serverSide that throw VcsException Modifier and Type Method Description byte[]
PersonalBuildManager. applyAndGetContent(byte[] originData, VcsModification modification, VcsChangeInfo change)
Returns applied patch from specified file on specified original data.byte[]
PersonalBuildManager. getContent(VcsModification modification, VcsChangeInfo change)
Returns sent content of the specified file.byte[]
PersonalBuildManager. getCurrentRepositoryContentForPersonallyChangedFile(VcsModification modification, String fileName, SBuildType buildType)
Returns last vcs repository content of the file specified.byte[]
SBuild. getFileContent(String filePath)
Get binary content of the single file related to this build.byte[]
SBuildType. getFileContent(String relativePath)
Get binary content of the latest version of a file related to this build type.byte[]
VcsWorkspaceAccess. getFileContent(String relativePath)
Get binary content of the file corresponding to the latest revision detected during the checking for changes process.byte[]
VcsWorkspaceAccess. getFileContent(String relativePath, boolean latest)
Same as {@link #getFileContent(String, false)}List<VcsFile>
VcsWorkspaceAccess. listFiles(String relativePath)
Lists files in the directory specified by relativePathvoid
SFinishedBuild. setLabel(String labelValue, String message, List<VcsRootInstance> rootsToLabel)
Sets a label on files in VCS repository used by this build in the specified VCS rootsvoid
SFinishedBuild. setLabel(String labelValue, List<VcsRootInstance> rootsToLabel)
Sets a label on files in VCS repository used by this build in the specified VCS roots -
Uses of VcsException in jetbrains.buildServer.serverSide.discovery
Subclasses of VcsException in jetbrains.buildServer.serverSide.discovery Modifier and Type Class Description static class
VcsUrlValidator.MultiVcsException
Methods in jetbrains.buildServer.serverSide.discovery that return types with arguments of type VcsException Modifier and Type Method Description List<Pair<VcsUrlValidator.VcsInfo,VcsException>>
VcsUrlValidator.MultiVcsException. getAllErrors()
Methods in jetbrains.buildServer.serverSide.discovery that throw VcsException Modifier and Type Method Description VcsUrlValidator.VcsInfo
VcsUrlValidator. validateVcsUrl(VcsUrl url, SProject project)
Constructor parameters in jetbrains.buildServer.serverSide.discovery with type arguments of type VcsException Constructor Description MultiVcsException(List<Pair<VcsUrlValidator.VcsInfo,VcsException>> errors)
-
Uses of VcsException in jetbrains.buildServer.serverSide.impl
Methods in jetbrains.buildServer.serverSide.impl with parameters of type VcsException Modifier and Type Method Description void
MockCollectRepositoryChangesPolicy. setCurrentStateError(VcsRoot root, VcsException error)
void
MockCollectRepositoryChangesPolicy. setError(VcsRoot root, VcsException error)
Methods in jetbrains.buildServer.serverSide.impl that throw VcsException Modifier and Type Method Description void
MockVcsSupport. buildPatch(VcsRoot root, String fromVersion, String toVersion, PatchBuilder builder, CheckoutRules checkoutRules)
List<ModificationData>
MockCollectRepositoryChangesPolicy. collectChanges(VcsRoot repository, RepositoryStateData fromState, RepositoryStateData toState, CheckoutRules checkoutRules)
List<ModificationData>
MockCollectRepositoryChangesPolicy. collectChanges(VcsRoot fromRepository, RepositoryStateData fromState, VcsRoot toRepository, RepositoryStateData toState, CheckoutRules checkoutRules)
List<ModificationData>
MockVcsSupport. collectChanges(VcsRoot root, String fromVersion, String currentVersion, CheckoutRules checkoutRules)
byte[]
MockVcsSupport. getContent(String filePath, VcsRoot versionedRoot, String version)
byte[]
MockVcsSupport. getContent(VcsModification parentModification, VcsChangeInfo change, VcsChangeInfo.ContentType contentType, VcsRoot vcsRoot)
byte[]
MockVcsModification. getContentAfter(VcsChangeInfo change)
byte[]
MockVcsModificationWithId. getContentAfter(VcsChangeInfo change)
byte[]
XmlRpcBasedRemoteServer. getContentAfter(String modificationId, String fileName)
byte[]
MockVcsModification. getContentBefore(VcsChangeInfo change)
byte[]
MockVcsModificationWithId. getContentBefore(VcsChangeInfo change)
byte[]
XmlRpcBasedRemoteServer. getContentBefore(String modificationId, String fileName)
RepositoryStateData
MockCollectRepositoryChangesPolicy. getCurrentState(VcsRoot repository)
String
MockVcsSupport. getCurrentVersion(VcsRoot root)
byte[]
BaseBuild. getFileContent(String filePath)
byte[]
BuildTypeImpl. getFileContent(String relativePath)
byte[]
BuildTypeImpl. getFileContent(String relativePath, boolean latest)
byte[]
DummyBuildType. getFileContent(String relativePath)
byte[]
DummyBuildType. getFileContent(String relativePath, boolean latest)
byte[]
EditableBuildTypeCopy. getFileContent(String relativePath)
byte[]
EditableBuildTypeCopy. getFileContent(String relativePath, boolean latest)
byte[]
RemoteBuildTypeImpl. getFileContent(String relativePath)
byte[]
RemoteBuildTypeImpl. getFileContent(String relativePath, boolean latest)
byte[]
RunningBuildWrapper. getFileContent(String filePath)
byte[]
VcsWorkspaceAccessImpl. getFileContent(String relativePath)
byte[]
VcsWorkspaceAccessImpl. getFileContent(String relativePath, boolean latest)
byte[]
XmlRpcBasedRemoteServer. getPersonalContentAfter(String modificationId, String fileName)
byte[]
XmlRpcBasedRemoteServer. getPersonalContentBefore(String modificationId, String fileName)
String
MockVcsSupport. getVcsRootIdentity(VcsRoot vcsRoot)
String
MockVcsSupport. getVersionDisplayName(String version, VcsRoot root)
List<VcsFile>
BuildTypeImpl. listFiles(String relativePath)
List<VcsFile>
DummyBuildType. listFiles(String relativePath)
List<VcsFile>
EditableBuildTypeCopy. listFiles(String relativePath)
List<VcsFile>
RemoteBuildTypeImpl. listFiles(String relativePath)
List<VcsFile>
VcsWorkspaceAccessImpl. listFiles(String relativePath)
Collection<String>
MockPersonalSupport. mapFullPath(VcsRootEntry rootEntry, String fullPath)
void
FinishedBuildImpl. setLabel(String labelValue, String message, List<VcsRootInstance> rootsToLabel)
void
FinishedBuildImpl. setLabel(String labelValue, List<VcsRootInstance> rootsToLabel)
String
MockVcsSupport. testConnection(VcsRoot vcsRoot)
-
Uses of VcsException in jetbrains.buildServer.serverSide.impl.auth
Methods in jetbrains.buildServer.serverSide.impl.auth that throw VcsException Modifier and Type Method Description byte[]
SecuredPersonalBuildManager. applyAndGetContent(byte[] originData, VcsModification modification, VcsChangeInfo change)
byte[]
SecuredPersonalBuildManager. getContent(VcsModification modification, VcsChangeInfo change)
byte[]
SecuredVcsManager. getContentAfter(VcsModification parentModification, VcsChangeInfo change)
byte[]
SecuredVcsManager. getContentBefore(VcsModification parentModification, VcsChangeInfo change)
byte[]
SecuredPersonalBuildManager. getCurrentRepositoryContentForPersonallyChangedFile(VcsModification modification, String fileName, SBuildType buildType)
byte[]
SecuredVcsManager. getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath)
byte[]
SecuredVcsManager. getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath, boolean latest)
byte[]
SecuredVcsManager. getFileContent(Build build, String filePath)
byte[]
SecuredVcsManager. getFileContent(SBuildType buildType, String relativePath)
void
SecuredFinishedBuildImpl. setLabel(String labelValue, List<VcsRootInstance> rootsToLabel)
-
Uses of VcsException in jetbrains.buildServer.serverSide.impl.configsRepo
Method parameters in jetbrains.buildServer.serverSide.impl.configsRepo with type arguments of type VcsException Modifier and Type Method Description void
RepositoryInitializer. initialize(CentralRepositoryConfiguration configuration, BiConsumer<Map<String,String>,VcsException> callBack)
Methods in jetbrains.buildServer.serverSide.impl.configsRepo that throw VcsException Modifier and Type Method Description Map<String,String>
RepositoryInitializingExtension. commitAllChanges(CentralRepositoryConfiguration repositoryConfiguration, CommitSettings commitSettings, List<String> ignoredPaths, RepositoryInitializingExtension.FilesProcessor filesProcessor)
initialize new repository in specified path and commit all changed files.static Pair<VcsSupportContext,VcsRoot>
CentralConfigsRepositoryUtils. findContextWithRoot(VcsUrl vcsUrl, VcsRegistryEx vcsContextLocator)
-
Uses of VcsException in jetbrains.buildServer.serverSide.impl.personal
Methods in jetbrains.buildServer.serverSide.impl.personal that throw VcsException Modifier and Type Method Description byte[]
PersonalBuildManagerImpl. applyAndGetContent(byte[] originData, VcsModification modification, VcsChangeInfo change)
Returns applied patch from specified file on specified original data.byte[]
PersonalBuildManagerImpl. getContent(VcsModification modification, VcsChangeInfo change)
byte[]
PersonalBuildManagerImpl. getCurrentRepositoryContentForPersonallyChangedFile(VcsModification modification, String fileName, SBuildType buildType)
static byte[]
FileBasedPersonalBuildsUtil. readFileContent(File changesFile, String fileToFileContentfor)
-
Uses of VcsException in jetbrains.buildServer.serverSide.impl.projectSources
Methods in jetbrains.buildServer.serverSide.impl.projectSources that throw VcsException Modifier and Type Method Description void
PatchBuildingDelegate. constructPatch(OutputStream out)
Pair<File,String>
SmallPatchCache. getCachedCleanPatch(String newVersion, File cacheDir, PatchBuildingDelegate pc)
Pair<File,String>
PatchCache. requestCachedPatch(VcsRootInstance root, CheckoutRules rules, String desiredVersion, PatchBuildingDelegate patchConstructor)
Pair<File,String>
PatchCacheImpl. requestCachedPatch(VcsRootInstance root, CheckoutRules rules, String requestedVersion, PatchBuildingDelegate patchConstructor)
-
Uses of VcsException in jetbrains.buildServer.serverSide.impl.versionedSettings
Methods in jetbrains.buildServer.serverSide.impl.versionedSettings that throw VcsException Modifier and Type Method Description CommitResult
DirectoryBasedTransactionCommitter. commit(VcsRootInstance root, DirectoryBasedTransaction t)
VersionedSettingsFileSystem
VersionedSettingsContentManager. fetchConfigsFromVcs(VcsRootInstance settingsRoot, CheckoutRules rules, String revision)
Returns directory with the specified VCS root contents on given revision with specified checkout rules applied.VersionedSettingsFileSystem
VersionedSettingsContentManagerImpl. fetchConfigsFromVcs(VcsRootInstance settingsRoot, CheckoutRules rules, String revision)
-
Uses of VcsException in jetbrains.buildServer.serverSide.vcs
Methods in jetbrains.buildServer.serverSide.vcs that throw VcsException Modifier and Type Method Description void
VcsLabelManager. setLabel(SBuild build, String labelValue, String message, List<VcsRootInstance> rootToLabel)
void
VcsLabelManager. setLabel(SBuild build, String labelValue, List<VcsRootInstance> rootsToLabel)
Sets label for the specified build on the specified vcs roots. -
Uses of VcsException in jetbrains.buildServer.vcs
Subclasses of VcsException in jetbrains.buildServer.vcs Modifier and Type Class Description class
IncrementalPatchImpossibleException
This exception indicates that the requested incremental patch for the specified version cannot be constructed for some reason.class
RevisionNotFoundException
Error which can be thrown by plugin when revision for some operation is not found.class
VcsFileNotFoundException
Exception is thrown during requesting some VCS file operation when the target file isn't found.class
VcsIncludeRulesException
VcsException that is associated with Vcs Include Rule, mostly used in server When such exception is thrown, the client code may try to repeat the operation, but exclude failing include rules from it.class
VcsOperationRejectedException
Should be thrown when vcs operation temporarily can't be performed and should be retried laterclass
VcsRootVcsException
VcsException that is associated with Vcs Root, mostly used in serverMethods in jetbrains.buildServer.vcs that return VcsException Modifier and Type Method Description VcsException
VcsIncludeRulesException. getProblemFor(CheckoutRules rule)
VcsException
VcsException. setRoot(Object root)
Deprecated.core will take care to associate vcs exception and settingsMethods in jetbrains.buildServer.vcs that return types with arguments of type VcsException Modifier and Type Method Description Map<SBuildType,VcsException>
ChangesCollectorResult. getChangesCollectingProblems()
Methods in jetbrains.buildServer.vcs with parameters of type VcsException Modifier and Type Method Description void
VcsIncludeRulesException. addProblem(IncludeRule rule, VcsException e)
default boolean
ChangesLoaderContext. isRecoverableError(VcsException e)
Methods in jetbrains.buildServer.vcs that throw VcsException Modifier and Type Method Description void
BuildPatchByCheckoutRules. buildPatch(VcsRoot root, String fromVersion, String toVersion, PatchBuilder builder, CheckoutRules checkoutRules)
Called to retrieve detailed info on modification between two given revisions.void
BuildPatchByIncludeRule. buildPatch(VcsRoot root, String fromVersion, String toVersion, PatchBuilder builder, IncludeRule includeRule)
Deprecated.Builds patch for the specified project subdirectory.void
IncludeRulePatchBuilder. buildPatch(PatchBuilder builder, IncludeRule includeRule)
Performs a portion of the patch building work corresponding to the given include rule.static void
VcsSupportUtil. buildPatch(VcsRoot root, String fromVersion, String toVersion, PatchBuilder builder, CheckoutRules checkoutRules, BuildPatchByIncludeRule patcher)
Deprecated.implement jetbrains.buildServer.vcs.BuildPatchByIncludeRules insteadvoid
BulkPatchService. buildPatches(VcsRoot root, CheckoutRules rules, List<BulkPatchService.BulkPatchBuilderRequest> requests, BulkPatchService.BulkPatchBuilder builder)
Creates a series of incremental patches from a given from revision to all toRevisions.List<Boolean>
VcsBulkSuitabilityChecker. checkSuitable(List<VcsRootEntry> entries, Collection<String> paths)
Perform a bulk check for which from a set of VcsRootEntries can be affected by at least one VCS path from given collection.List<ModificationData>
CurrentVersionIsExpensiveVcsSupport. collectBuildChanges(VcsRoot root, String fromVersion, CheckoutRules checkoutRules)
Deprecated.Returns list of the changes from the given one to current moment.abstract List<ModificationData>
VcsSupport. collectBuildChanges(VcsRoot root, String fromVersion, String currentVersion, CheckoutRules checkoutRules)
Deprecated.List<ModificationData>
CollectChangesBetweenRepositories. collectChanges(VcsRoot fromRepository, RepositoryStateData fromState, VcsRoot toRepository, RepositoryStateData toState, CheckoutRules checkoutRules)
Collect changes between repositories.List<ModificationData>
CollectChangesBetweenRoots. collectChanges(VcsRoot fromRoot, String fromVersion, VcsRoot toRoot, String toVersion, CheckoutRules checkoutRules)
Deprecated.Collect changes between roots.List<ModificationData>
CollectChangesByCheckoutRules. collectChanges(VcsRoot root, String fromVersion, String currentVersion, CheckoutRules checkoutRules)
Deprecated.Returns list of the changes between two revisions given.List<ModificationData>
CollectRepositoryChangesByCheckoutRules. collectChanges(VcsRoot repository, RepositoryStateData fromState, RepositoryStateData toState, CheckoutRules checkoutRules)
Returns changes in repository detected between specified repository states.List<ModificationData>
CollectSingleStateChangesBetweenRoots. collectChanges(VcsRoot fromRoot, String fromVersion, VcsRoot toRoot, String toVersion, CheckoutRules checkoutRules)
Collect changes between roots.List<ModificationData>
CollectSingleStateChangesByCheckoutRules. collectChanges(VcsRoot root, String fromVersion, String currentVersion, CheckoutRules checkoutRules)
Deprecated.Returns list of the changes between two revisions given.List<ModificationData>
IncludeRuleChangeCollector. collectChanges(IncludeRule includeRule)
Performs a portion of the change collecting work corresponding to the given include rule.void
RepositoryStateChangesReporter. collectChanges(VcsRoot fromRepository, RepositoryStateData fromState, VcsRoot toRepository, RepositoryStateData toState, CheckoutRules checkoutRules, ChangesConsumer consumer)
This method is called by the system to collect changes between two states.void
SingleStateChangesReporter. collectChanges(VcsRoot fromRoot, String fromVersion, VcsRoot toRoot, String toVersion, CheckoutRules checkoutRules, ChangesConsumer consumer)
Collect changes between roots.List<ModificationData>
VcsSupport. collectChanges(VcsRoot root, String fromVersion, String currentVersion, CheckoutRules checkoutRules)
Deprecated.void
CommitsInfoBuilder. collectCommits(VcsRoot root, CheckoutRules rules, CommitsInfoBuilder.CommitsConsumer consumer)
This method is called to fetch entire commits list (graph) from the VCS plugin.CommitResult
CommitPatchBuilder. commit(CommitSettings commitSettings)
Creates new commit with specified user name and description messageprotected abstract CommitSupport
AbstractCommitSupportTest. commitSupport()
void
ChangesConsumer. consumeChange(ChangeData change)
Callback method to report detectedChangeData
objects to the system.Map<String,String>
ContextAwareUrlSupport. convertToVcsRootProperties(VcsUrl url, VcsOperationContext context)
Converts the given url to a set of VCS root properties valid enough for creating a VCS root.Map<String,String>
UrlSupport. convertToVcsRootProperties(VcsUrl url)
Converts the given url to a set of VCS root properties valid enough for creating a VCS root.void
CommitPatchBuilder. createDirectory(String path)
Creates an empty directory at the given relative path from a repository rootvoid
CommitPatchBuilder. createFile(String path, InputStream content)
Adds the specified content at the given relative path from a repository rootvoid
CommitPatchBuilder. deleteDirectory(String path)
Recursively deletes a directory at the given relative path from a repository rootvoid
CommitPatchBuilder. deleteFile(String path)
Deletes a file at the given relative path from a repository rootvoid
IncludeRuleChangeCollector. dispose()
Called after the last include rule is processed byIncludeRuleChangeCollector.collectChanges(IncludeRule)
.void
IncludeRulePatchBuilder. dispose()
Called after the last include rule is processed byIncludeRulePatchBuilder.buildPatch(jetbrains.buildServer.vcs.patches.PatchBuilder, IncludeRule)
.void
AbstractCommitSupportTest.CommitEditor. driveCommit(CommitPatchBuilder builder)
void
ChangesInfoBuilder. fetchChangesInfo(VcsRoot root, CheckoutRules checkoutRules, Collection<String> revisions, ChangesConsumer consumer)
Deprecated.Collects changes information for a given commit.void
FetchService. fetchRepository(VcsRoot root, CheckoutRules rules, FetchService.FetchRepositoryCallback callback)
Performs repository fetch to the most recent revisionIncludeRuleChangeCollector
CollectChangesByIncludeRules. getChangeCollector(VcsRoot root, String fromVersion, String currentVersion)
Deprecated.Returns an object that would handle calls for each include rule found in the checkout rules.IncludeRuleChangeCollector
CollectSingleStateChangesByIncludeRules. getChangeCollector(VcsRoot root, String fromVersion, String currentVersion)
Deprecated.Returns an object that would handle calls for each include rule found in the checkout rules.default Map<String,String>
VcsSupportConfig. getCheckoutProperties(VcsRoot root)
Must return a map of vcs root properties significant for checkout operation.Collection<VcsClientMapping>
IncludeRuleBasedMappingProvider. getClientMapping(VcsRoot vcsRoot, IncludeRule includeRule)
This method provides mapping information from given VcsRoot and a path within it to actual possible VCS paths.Collection<VcsClientMapping>
VcsRootBasedMappingProvider. getClientMapping(VcsRoot vcsRoot)
This method provides a mapping information from given VcsRoot and a path within it to actual possible VCS paths.CommitPatchBuilder
CommitSupport. getCommitPatchBuilder(VcsRoot root)
Should return aCommitPatchBuilder
instance for the given VCS root which is used to make commits.default CommitPatchBuilder
CommitSupport. getCommitPatchBuilder(VcsRoot root, CommitSupport.Config config)
Should return aCommitPatchBuilder
instance for the given VCS root which is used to make commits.byte[]
VcsFile. getContent()
byte[]
VcsFileContentProvider. getContent(String filePath, VcsRoot versionedRoot, String version)
Get binary content of the single file in modification set.byte[]
VcsFileContentProvider. getContent(VcsModification vcsModification, VcsChangeInfo change, VcsChangeInfo.ContentType contentType, VcsRoot vcsRoot)
Get binary content of the single file in modification set.byte[]
VcsFileImpl. getContent()
byte[]
FilteredVcsChange. getContentAfter()
byte[]
VcsContentManagerEx. getContentAfter(VcsModification parentModification, VcsChangeInfo change)
byte[]
VcsFileModification. getContentAfter()
Returns file content after the modificationbyte[]
FilteredVcsChange. getContentBefore()
byte[]
VcsContentManagerEx. getContentBefore(VcsModification parentModification, VcsChangeInfo change)
byte[]
VcsFileModification. getContentBefore()
Returns file content before the modificationprotected abstract String
AbstractCommitSupportTest. getCurrentRevision(VcsRootImpl root)
RepositoryVersion
VcsRootInstance. getCurrentRevision()
RepositoryStateData
CollectRepositoryChangesPolicy. getCurrentState(VcsRoot repository)
Returns current repository stateRepositoryState
LVcsRootInstanceEx. getCurrentState()
String
CollectSingleStatePolicy. getCurrentVersion(VcsRoot root)
Returns version mark version control is currently in (like last committed change list number for Perforce, or current date for CVS).String
ServerVcsSupport. getCurrentVersion(VcsRoot root)
Deprecated.this method could now be implemented viaVcsSupportContext.getCollectChangesPolicy()
byte[]
VcsContentManager. getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath)
Get the file content for the latest revision detected by TeamCity during the last checking for changes process, searching it in the provided list of VCS rootsbyte[]
VcsContentManager. getFileContent(Build build, String filePath)
Get binary content of the single file in modification set.byte[]
VcsContentManager. getFileContent(SBuildType buildType, String relativePath)
Get the file content for the latest revision detected by TeamCity during the last checking for changes process, for given relative path in the given build configuration.byte[]
VcsContentManagerEx. getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath, boolean latest)
Same asVcsContentManager.getFileContent(List, String)
if argument latest is false.RevisionMatchedByCheckoutRulesCalculator.Result
RevisionMatchedByCheckoutRulesCalculator. getLatestRevisionAcceptedByCheckoutRules(VcsRoot root, CheckoutRules rules, String startRevision, String startRevisionBranchName, Collection<String> stopRevisions)
Should return the latest commit which affects files matched by checkout rules.default Map<String,String>
VcsSupportConfig. getServerCheckoutProperties(VcsRoot root)
This method is used to calculate caching key for VCSEntries when checkout on server mode is used.<T extends VcsService>
TLVcsRootInstance. getService(Class<T> serviceClass)
Return Vcs service specified by a class passed to the method.<T extends VcsService>
TLVcsRootInstance. getService(Class<T> serviceClass, CheckoutRules checkoutRules)
Return Vcs service specified by a class passed to the method.String
VcsRootIdentityProvider. getVcsRootIdentity(VcsRoot vcsRoot)
For the provided VCS root calculate identity, which can be used by TeamCity core to decide if two VCS root represent the same or different repositoriesString
LVcsRootInstance. getVersionDisplayName(String version)
Creates human-readable revision representation, it's likely to make this method unused by reporting all data strait from VCS pluginsString
VcsSupportConfig. getVersionDisplayName(String version, VcsRoot root)
Returns readable presentation of version (this format should be the same as DisplayVersion of VcsModification)default String
LabelingSupport. label(String label, String message, String version, VcsRoot root, CheckoutRules checkoutRules)
Labels sources for given revision and settings and sets comment if required.String
LabelingSupport. label(String label, String version, VcsRoot root, CheckoutRules checkoutRules)
Labels sources for given revision and settings.Collection<VcsFileData>
ListDirectChildrenPolicy. listFiles(VcsRoot root, String directoryPath)
Returns list of files in the specified directory of the specified VCS rootvoid
BuildPromotionChangesLoader. loadChangesBetweenRoots(Map<LVcsRootInstance,LVcsRootInstance> rootsToOverriddenRoots, ChangesLoaderContext context)
Loads changes between each pair of the roots in provided collection.Collection<String>
VcsPersonalSupport. mapFullPath(VcsRootEntry rootEntry, String fullPath)
Converts full path to path (or collection of paths) relative in relation to provided VCS root.MergeResult
MergeSupport. merge(VcsRoot root, String srcRevision, String dstBranch, String message, MergeOptions options)
Merges specified revision in given VCS root into given destination branch with specified message and options.void
CommitPatchBuilder. renameFile(String oldPath, String newPath, InputStream content)
Moves a file at theoldPath
relative path from a repository root to a newPath and writes a new file contentString
TestConnectionSupport. testConnection(VcsRoot vcsRoot)
Called to test connection to the given VCS root.boolean
RecurringChangesLoader. tryLoadChanges(LVcsRootInstance vcsRoot, ChangesLoaderContext context)
Attempts to collect changes for VCS root if checking for changes is not yet started for this root.Map<MergeTask,MergeResult>
MergeSupport. tryMerge(VcsRoot root, List<MergeTask> tasks, MergeOptions options)
Try to merge given merge tasks with specified options and return a map of merge result for each task.Constructors in jetbrains.buildServer.vcs with parameters of type VcsException Constructor Description VcsIncludeRulesException(IncludeRule includeRule, VcsException e)
VcsRootVcsException(VcsRoot root, String message, VcsException cause)
creates detailed exceptionVcsRootVcsException(VcsRoot root, String message, VcsException cause, CheckoutRules checkoutRules)
creates detailed exceptionVcsRootVcsException(VcsRoot root, VcsException cause)
creates an exception -
Uses of VcsException in jetbrains.buildServer.vcs.browser
Methods in jetbrains.buildServer.vcs.browser that throw VcsException Modifier and Type Method Description byte[]
RootVcsDir. getContent()
-
Uses of VcsException in jetbrains.buildServer.vcs.impl
Subclasses of VcsException in jetbrains.buildServer.vcs.impl Modifier and Type Class Description class
BranchExcludedException
class
BranchNotFoundException
Methods in jetbrains.buildServer.vcs.impl that return types with arguments of type VcsException Modifier and Type Method Description Map<SBuildType,VcsException>
BuildChangesLoaderContext. getChangesCollectingProblems()
Methods in jetbrains.buildServer.vcs.impl with parameters of type VcsException Modifier and Type Method Description boolean
BuildChangesLoaderContext. isRecoverableError(VcsException e)
boolean
NarrowBuildTypesDecorator. isRecoverableError(VcsException e)
Methods in jetbrains.buildServer.vcs.impl that throw VcsException Modifier and Type Method Description SVcsRoot
VcsManagerImpl. createNewVcsRoot(VcsUrl url, String name, VcsRootScope scope)
SVcsRoot
VcsRootsManagerImpl. createNewVcsRoot(VcsUrl url, String name, VcsRootScope scope)
InputStream
MixedContentProvider. getContent(String relativePath)
byte[]
AbstractVcsModification. getContentAfter(VcsChangeInfo change)
byte[]
PersonalVcsModificationImpl. getContentAfter(VcsChangeInfo change)
byte[]
ServerSideVcsFileModificationImpl. getContentAfter()
byte[]
VcsContentManagerImpl. getContentAfter(VcsModification parentModification, VcsChangeInfo change)
byte[]
VcsManagerImpl. getContentAfter(VcsModification parentModification, VcsChangeInfo change)
byte[]
VcsModificationEx. getContentAfter(VcsChangeInfo change)
byte[]
AbstractVcsModification. getContentBefore(VcsChangeInfo change)
byte[]
PersonalVcsModificationImpl. getContentBefore(VcsChangeInfo change)
byte[]
ServerSideVcsFileModificationImpl. getContentBefore()
byte[]
VcsContentManagerImpl. getContentBefore(VcsModification parentModification, VcsChangeInfo change)
byte[]
VcsManagerImpl. getContentBefore(VcsModification parentModification, VcsChangeInfo change)
byte[]
VcsModificationEx. getContentBefore(VcsChangeInfo change)
RepositoryVersion
VcsRootInstanceWithParent. getCurrentRevision()
RepositoryVersion
VcsSettingsOperations. getCurrentRevision()
RepositoryState
VcsSettingsOperations. getCurrentState()
CurrentStateSnapshot
VcsChangesStatesCollector. getCurrentStateSnapshot(ExecService exec, Collection<LVcsRootInstance> roots, ChangesLoaderContext context)
String
UnknownVcsSupport. getCurrentVersion(VcsRoot root)
byte[]
VcsContentManagerImpl. getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath)
byte[]
VcsContentManagerImpl. getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath, boolean latest)
byte[]
VcsContentManagerImpl. getFileContent(Build build, String filePath)
byte[]
VcsContentManagerImpl. getFileContent(SBuildType buildType, String relativePath)
byte[]
VcsManagerImpl. getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath)
byte[]
VcsManagerImpl. getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath, boolean latest)
byte[]
VcsManagerImpl. getFileContent(Build build, String filePath)
byte[]
VcsManagerImpl. getFileContent(SBuildType buildType, String relativePath)
<T extends VcsService>
TVcsSettingsOperations. getService(Class<T> serviceClass)
<T extends VcsService>
TVcsSettingsOperations. getService(Class<T> serviceClass, CheckoutRules rules)
LinkedMultiMapToList<LVcsRootInstance,LoadChangesTask>
VcsChangesFetcher. getStateAndCreateChangesCollectingTasks(ExecService exec, Map<LVcsRootInstance,LVcsRootInstance> pairs, ChangesLoaderContext ctx)
String
UnknownVcsSupport. getVersionDisplayName(String version, VcsRoot root)
String
VcsSettingsOperations. getVersionDisplayName(String version)
List<VcsItem>
MixedContentProvider. listItems(String relativePath)
void
VcsChangesLoader. loadChangesBetweenRoots(Map<LVcsRootInstance,LVcsRootInstance> pairs, ChangesLoaderContext context)
Collects changes for overridden rootsMap<VcsRootInstance,MergeResult>
MergeManager. merge(SBuild build, String dstLogicalBranch, String mergeMessage, MergeOptions options)
Map<BranchMergeTask,CompositeMergeResult>
MergeManager. merge(SBuildType buildType, List<BranchMergeTask> branches)
Map<VcsRootInstance,MergeResult>
MergeManagerImpl. merge(SBuild build, String dstLogicalBranch, String mergeMessage, MergeOptions options)
Map<BranchMergeTask,CompositeMergeResult>
MergeManagerImpl. merge(SBuildType buildType, List<BranchMergeTask> mergeTasks)
void
VcsLabeler. setLabel(SBuild build, String labelValue, String message, List<VcsRootInstance> rootsToLabel)
void
VcsLabeler. setLabel(SBuild build, String labelValue, List<VcsRootInstance> rootToLabel)
boolean
VcsChangesLoader. tryLoadChanges(LVcsRootInstance rootInstance, ChangesLoaderContext context)
Try to lock a root and collect changes in it -
Uses of VcsException in jetbrains.buildServer.vcs.utils
Methods in jetbrains.buildServer.vcs.utils that throw VcsException Modifier and Type Method Description static void
VcsPluginUtil. buildPatch(VcsRoot root, String fromVersion, String toVersion, PatchBuilder builder, CheckoutRules checkoutRules, BuildPatchByIncludeRules patcher)
Service method, allows to build patch for each root include rule in the specified checkout rulesstatic List<ModificationData>
VcsPluginUtil. collectBuildChanges(VcsRoot root, String fromVersion, String toVersion, CheckoutRules commonRule, CollectChangesByIncludeRules collector)
Util method, can be used with CollectChangesByIncludeRules to collect all changes for a set of CheckoutRulesstatic List<ModificationData>
VcsPluginUtil. collectBuildChanges(VcsRoot root, String fromVersion, String toVersion, CheckoutRules commonRule, CollectSingleStateChangesByIncludeRules collector)
Util method, can be used with CollectSingleStateChangesByIncludeRules to collect all changes for a set of CheckoutRulesvoid
VcsPluginUtil.IncludeRuleHandler. handle(IncludeRule includeRule)
-
Uses of VcsException in jetbrains.vcs.api.services
Methods in jetbrains.vcs.api.services that throw VcsException Modifier and Type Method Description void
CleanPatchService. buildCleanPatch(LowLevelPatchBuilder builder, String toRevision)
Creates a clean patchvoid
IncrementalPatchService. buildIncrementalPatch(LowLevelPatchBuilder builder, String fromRevision, String toRevision)
Creates an incremental patch from a given revision to a given revisionvoid
BulkPatchService. buildPatches(List<BulkPatchService.BulkPatchRequest> requests, BulkPatchService.BulkPatchBuilder builder)
Creates a series of incremental patches from a given from revision to all toRevisions.void
CollectChangesService. collectChanges(VcsSettings fromSettings, VcsRepositoryState fromState, VcsRepositoryState toState, CollectChangesService.ChangesConsumer consumer)
void
CommitsInfoService. collectCommits(CommitsInfoService.CommitsConsumer consumer)
This method is called to fetch entire commits list (graph) from the VCS plugin.void
ChangesInfoService. fetchChangesInfo(Collection<String> states, ChangesInfoService.ChangesConsumer consumer)
Deprecated.Collects changes information for a given commit.void
FetchService. fetchRepository(FetchService.FetchRepositoryCallback callback)
Performs repository fetch to the most recent revisionMap<String,String>
CoreRepositoryService. getCheckoutProperties(boolean serverSideCheckout)
Must return a map of vcs root properties significant for checkout operation.void
FileContentService. getContent(String version, VcsChangeInfo change, VcsChangeInfo.ContentType direction, OutputStream targetStream)
Get binary content of the single file in modification set.void
FileContentService. getPathContent(String filePath, String version, OutputStream targetStream)
Get binary content of a single file.CollectChangesService.RevisionMatchedByCheckoutRules
CollectChangesService. getRevisionMatchedByCheckoutRules(VcsSettings vcsSettings, String startRevision, String startRevisionBranchName, Collection<String> stopRevisions)
String
CoreRepositoryService. getVcsRootIdentity(VcsSettings settings)
String
CoreRepositoryService. getVersionDisplayName(String version)
String
LabelingService. label(String label, String revision)
Labels sources for given revision and settings.String
LabelingService. label(String label, String message, String revision)
Collection<VcsFileData>
ListFilesService. listFiles(String directoryPath)
String
TestConnectionService. testConnection()
Called to test connection for current VcsSettings -
Uses of VcsException in jetbrains.vcs.api.services.collectChanges
Methods in jetbrains.vcs.api.services.collectChanges that throw VcsException Modifier and Type Method Description protected void
CollectChangesCommand. addAll(ChangesConsumer consumer, Collection<? extends ChangeData> commits)
abstract void
CollectChangesCommand. collectChanges(VcsRoot fromRepository, RepositoryStateData fromState, VcsRoot toRepository, RepositoryStateData toState, CheckoutRules checkoutRules, ChangesConsumer consumer)
Collect changes between repositories.protected abstract void
SingleVersionCollectChangesCommand. collectChanges(VcsRoot fromRepository, String fromState, VcsRoot toRepository, String toState, CheckoutRules checkoutRules, ChangesConsumer consumer)
void
SingleVersionCollectChangesCommand. collectChanges(VcsRoot fromRepository, RepositoryStateData fromState, VcsRoot toRepository, RepositoryStateData toState, CheckoutRules checkoutRules, ChangesConsumer consumer)
-
Uses of VcsException in jetbrains.vcs.api.services.patches
Methods in jetbrains.vcs.api.services.patches that throw VcsException Modifier and Type Method Description void
CleanPatchServiceImplA. buildCleanPatch(LowLevelPatchBuilder builder, String toRevision)
void
IncrementalPatchServiceImpl. buildIncrementalPatch(LowLevelPatchBuilder builder, String fromRevision, String toRevision)
static void
BuildPatchUtil. buildPatch(BuildPatchPolicy policy, VcsRoot vcsRoot, String fromVersion, String toVersion, PatchBuilder builder, CheckoutRules checkoutRules)
protected void
PatchServiceBase. buildPatchImpl(LowLevelPatchBuilder builder, String fromRevision, String toRevision)
-
Uses of VcsException in jetbrains.vcs.api.services.tc
Methods in jetbrains.vcs.api.services.tc that throw VcsException Modifier and Type Method Description List<Boolean>
PersonalSupportBatchService. canAffect(List<VcsSettings> vcsSettings, List<String> pathsToCheck, boolean considerVcsRootParents)
Check if passed paths can affect sources under passed VCS Root settings I.e.Collection<VcsMappingElement>
MappingGeneratorService. generateMapping()
MappingResult
PersonalSupportBatchService. mapPath(Collection<VcsSettings> vcsSettings, String pathToMap, boolean returnFirstMatch)
-