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 classCleanCheckoutDisabledExceptionMethods in jetbrains.buildServer.agent.impl.buildStages.startStages that throw VcsException Modifier and Type Method Description voidCleanBuildCheckoutDirectoryIfNeededStage. 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 voidProjectSourcesOnAgent. checkoutSources(AgentRunningBuildEx build)protected abstract voidAbstractSourcesUpdater. updateSources()protected voidUpdateSourcesFromAgent. 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 CheckoutSupportAgentVcsManagerEx. findCheckoutSupport(String name)CheckoutSupportAgentVcsManagerExImpl. findCheckoutSupport(String vcsName)AgentVcsSupportContextAgentVcsRegistryEx. findVcsSupport(String name)Searches for vcs plugin implementationAgentVcsSupportContextAgentVcsRegistryImpl2. 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 AgentVcsSupportBuilderAgentVcsSupportBuilder. withFailingUpdateByCheckoutRules2(VcsException exception)Methods in jetbrains.buildServer.agent.vcs that throw VcsException Modifier and Type Method Description voidIncludeRuleUpdater. dispose()Called when all necessary vsc update operation are performed.IncludeRuleUpdaterUpdateByIncludeRules. 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.IncludeRuleUpdaterUpdateByIncludeRules2. 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.voidIncludeRuleUpdater. process(IncludeRule rule, File includeRuleDestFolder)Does vcs update for the include rule to specified folder.voidCheckoutOnAgentVcsSupport. updateSources(BuildProgressLogger logger, File workingDirectory, VcsRoot root, String newVersion, IncludeRule includeRule)Deprecated.Called to update sources in the specified working directory.voidUpdateByCheckoutRules. updateSources(VcsRoot root, CheckoutRules rules, String toVersion, File destFolder, BuildProgressLogger logger)Deprecated.Called to update sources in the specified working directory.voidUpdateByCheckoutRules2. 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 voidConnectionStateReporter. reportConnectionFailed(VcsException e, CheckoutRules rule)voidConnectionStateReporterImpl. reportConnectionFailed(VcsException e, CheckoutRules rule)Methods in jetbrains.buildServer.buildTriggers.vcs that throw VcsException Modifier and Type Method Description voidAbstractVcsGetContentTestHelper. checkFileContent(String versBefore, String versAfter, String fileRelativePath, String fileNameInChange)LoadChangesResultLoadChanges. 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)PersistChangesResultChangePersister. persist(List<ModificationData> changes, CheckoutRules commonRules)Persist collected changes according to checkout rules and emit event modificationPersisted.PersistChangesResultDetectedChangesPersister. 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 voidIprAdapter4Diana. checkDianaProject()FileIdeaSettings. createIprIfNeeded(File checkoutDir)InputStreamContentProvider. getContent(String relativePath)Get a content of the file from data source represented by this content provider.InputStreamFileContentProvider. getContent(String relativePath)InputStreamSubdirectoryDecorator. getContent(String relativePath)InputStreamIprAdapter4Diana. getIprStream()InputStreamIprAdapter4Diana. 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 relativePathvoidSFinishedBuild. setLabel(String labelValue, String message, List<VcsRootInstance> rootsToLabel)Sets a label on files in VCS repository used by this build in the specified VCS rootsvoidSFinishedBuild. 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 classVcsUrlValidator.MultiVcsExceptionMethods 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.VcsInfoVcsUrlValidator. 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 voidMockCollectRepositoryChangesPolicy. setCurrentStateError(VcsRoot root, VcsException error)voidMockCollectRepositoryChangesPolicy. setError(VcsRoot root, VcsException error)Methods in jetbrains.buildServer.serverSide.impl that throw VcsException Modifier and Type Method Description voidMockVcsSupport. 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)RepositoryStateDataMockCollectRepositoryChangesPolicy. getCurrentState(VcsRoot repository)StringMockVcsSupport. 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)StringMockVcsSupport. getVcsRootIdentity(VcsRoot vcsRoot)StringMockVcsSupport. 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)voidFinishedBuildImpl. setLabel(String labelValue, String message, List<VcsRootInstance> rootsToLabel)voidFinishedBuildImpl. setLabel(String labelValue, List<VcsRootInstance> rootsToLabel)StringMockVcsSupport. 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)voidSecuredFinishedBuildImpl. 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 voidRepositoryInitializer. 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 voidPatchBuildingDelegate. 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 CommitResultDirectoryBasedTransactionCommitter. commit(VcsRootInstance root, DirectoryBasedTransaction t)VersionedSettingsFileSystemVersionedSettingsContentManager. fetchConfigsFromVcs(VcsRootInstance settingsRoot, CheckoutRules rules, String revision)Returns directory with the specified VCS root contents on given revision with specified checkout rules applied.VersionedSettingsFileSystemVersionedSettingsContentManagerImpl. 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 voidVcsLabelManager. setLabel(SBuild build, String labelValue, String message, List<VcsRootInstance> rootToLabel)voidVcsLabelManager. 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 classIncrementalPatchImpossibleExceptionThis exception indicates that the requested incremental patch for the specified version cannot be constructed for some reason.classRevisionNotFoundExceptionError which can be thrown by plugin when revision for some operation is not found.classVcsFileNotFoundExceptionException is thrown during requesting some VCS file operation when the target file isn't found.classVcsIncludeRulesExceptionVcsException 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.classVcsOperationRejectedExceptionShould be thrown when vcs operation temporarily can't be performed and should be retried laterclassVcsRootVcsExceptionVcsException that is associated with Vcs Root, mostly used in serverMethods in jetbrains.buildServer.vcs that return VcsException Modifier and Type Method Description VcsExceptionVcsIncludeRulesException. getProblemFor(CheckoutRules rule)VcsExceptionVcsException. 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 voidVcsIncludeRulesException. addProblem(IncludeRule rule, VcsException e)default booleanChangesLoaderContext. isRecoverableError(VcsException e)Methods in jetbrains.buildServer.vcs that throw VcsException Modifier and Type Method Description voidBuildPatchByCheckoutRules. buildPatch(VcsRoot root, String fromVersion, String toVersion, PatchBuilder builder, CheckoutRules checkoutRules)Called to retrieve detailed info on modification between two given revisions.voidBuildPatchByIncludeRule. buildPatch(VcsRoot root, String fromVersion, String toVersion, PatchBuilder builder, IncludeRule includeRule)Deprecated.Builds patch for the specified project subdirectory.voidIncludeRulePatchBuilder. buildPatch(PatchBuilder builder, IncludeRule includeRule)Performs a portion of the patch building work corresponding to the given include rule.static voidVcsSupportUtil. buildPatch(VcsRoot root, String fromVersion, String toVersion, PatchBuilder builder, CheckoutRules checkoutRules, BuildPatchByIncludeRule patcher)Deprecated.implement jetbrains.buildServer.vcs.BuildPatchByIncludeRules insteadvoidBulkPatchService. 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.voidRepositoryStateChangesReporter. 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.voidSingleStateChangesReporter. 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.voidCommitsInfoBuilder. collectCommits(VcsRoot root, CheckoutRules rules, CommitsInfoBuilder.CommitsConsumer consumer)This method is called to fetch entire commits list (graph) from the VCS plugin.CommitResultCommitPatchBuilder. commit(CommitSettings commitSettings)Creates new commit with specified user name and description messageprotected abstract CommitSupportAbstractCommitSupportTest. commitSupport()voidChangesConsumer. consumeChange(ChangeData change)Callback method to report detectedChangeDataobjects 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.voidCommitPatchBuilder. createDirectory(String path)Creates an empty directory at the given relative path from a repository rootvoidCommitPatchBuilder. createFile(String path, InputStream content)Adds the specified content at the given relative path from a repository rootvoidCommitPatchBuilder. deleteDirectory(String path)Recursively deletes a directory at the given relative path from a repository rootvoidCommitPatchBuilder. deleteFile(String path)Deletes a file at the given relative path from a repository rootvoidIncludeRuleChangeCollector. dispose()Called after the last include rule is processed byIncludeRuleChangeCollector.collectChanges(IncludeRule).voidIncludeRulePatchBuilder. dispose()Called after the last include rule is processed byIncludeRulePatchBuilder.buildPatch(jetbrains.buildServer.vcs.patches.PatchBuilder, IncludeRule).voidAbstractCommitSupportTest.CommitEditor. driveCommit(CommitPatchBuilder builder)voidChangesInfoBuilder. fetchChangesInfo(VcsRoot root, CheckoutRules checkoutRules, Collection<String> revisions, ChangesConsumer consumer)Deprecated.Collects changes information for a given commit.voidFetchService. fetchRepository(VcsRoot root, CheckoutRules rules, FetchService.FetchRepositoryCallback callback)Performs repository fetch to the most recent revisionIncludeRuleChangeCollectorCollectChangesByIncludeRules. getChangeCollector(VcsRoot root, String fromVersion, String currentVersion)Deprecated.Returns an object that would handle calls for each include rule found in the checkout rules.IncludeRuleChangeCollectorCollectSingleStateChangesByIncludeRules. 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.CommitPatchBuilderCommitSupport. getCommitPatchBuilder(VcsRoot root)Should return aCommitPatchBuilderinstance for the given VCS root which is used to make commits.default CommitPatchBuilderCommitSupport. getCommitPatchBuilder(VcsRoot root, CommitSupport.Config config)Should return aCommitPatchBuilderinstance 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 StringAbstractCommitSupportTest. getCurrentRevision(VcsRootImpl root)RepositoryVersionVcsRootInstance. getCurrentRevision()RepositoryStateDataCollectRepositoryChangesPolicy. getCurrentState(VcsRoot repository)Returns current repository stateRepositoryStateLVcsRootInstanceEx. getCurrentState()StringCollectSingleStatePolicy. getCurrentVersion(VcsRoot root)Returns version mark version control is currently in (like last committed change list number for Perforce, or current date for CVS).StringServerVcsSupport. 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.ResultRevisionMatchedByCheckoutRulesCalculator. 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.StringVcsRootIdentityProvider. 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 repositoriesStringLVcsRootInstance. getVersionDisplayName(String version)Creates human-readable revision representation, it's likely to make this method unused by reporting all data strait from VCS pluginsStringVcsSupportConfig. getVersionDisplayName(String version, VcsRoot root)Returns readable presentation of version (this format should be the same as DisplayVersion of VcsModification)default StringLabelingSupport. label(String label, String message, String version, VcsRoot root, CheckoutRules checkoutRules)Labels sources for given revision and settings and sets comment if required.StringLabelingSupport. 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 rootvoidBuildPromotionChangesLoader. 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.MergeResultMergeSupport. 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.voidCommitPatchBuilder. renameFile(String oldPath, String newPath, InputStream content)Moves a file at theoldPathrelative path from a repository root to a newPath and writes a new file contentStringTestConnectionSupport. testConnection(VcsRoot vcsRoot)Called to test connection to the given VCS root.booleanRecurringChangesLoader. 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 classBranchExcludedExceptionclassBranchNotFoundExceptionMethods 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 booleanBuildChangesLoaderContext. isRecoverableError(VcsException e)booleanNarrowBuildTypesDecorator. isRecoverableError(VcsException e)Methods in jetbrains.buildServer.vcs.impl that throw VcsException Modifier and Type Method Description SVcsRootVcsManagerImpl. createNewVcsRoot(VcsUrl url, String name, VcsRootScope scope)SVcsRootVcsRootsManagerImpl. createNewVcsRoot(VcsUrl url, String name, VcsRootScope scope)InputStreamMixedContentProvider. 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)RepositoryVersionVcsRootInstanceWithParent. getCurrentRevision()RepositoryVersionVcsSettingsOperations. getCurrentRevision()RepositoryStateVcsSettingsOperations. getCurrentState()CurrentStateSnapshotVcsChangesStatesCollector. getCurrentStateSnapshot(ExecService exec, Collection<LVcsRootInstance> roots, ChangesLoaderContext context)StringUnknownVcsSupport. 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)StringUnknownVcsSupport. getVersionDisplayName(String version, VcsRoot root)StringVcsSettingsOperations. getVersionDisplayName(String version)List<VcsItem>MixedContentProvider. listItems(String relativePath)voidVcsChangesLoader. 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)voidVcsLabeler. setLabel(SBuild build, String labelValue, String message, List<VcsRootInstance> rootsToLabel)voidVcsLabeler. setLabel(SBuild build, String labelValue, List<VcsRootInstance> rootToLabel)booleanVcsChangesLoader. 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 voidVcsPluginUtil. 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 CheckoutRulesvoidVcsPluginUtil.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 voidCleanPatchService. buildCleanPatch(LowLevelPatchBuilder builder, String toRevision)Creates a clean patchvoidIncrementalPatchService. buildIncrementalPatch(LowLevelPatchBuilder builder, String fromRevision, String toRevision)Creates an incremental patch from a given revision to a given revisionvoidBulkPatchService. buildPatches(List<BulkPatchService.BulkPatchRequest> requests, BulkPatchService.BulkPatchBuilder builder)Creates a series of incremental patches from a given from revision to all toRevisions.voidCollectChangesService. collectChanges(VcsSettings fromSettings, VcsRepositoryState fromState, VcsRepositoryState toState, CollectChangesService.ChangesConsumer consumer)voidCommitsInfoService. collectCommits(CommitsInfoService.CommitsConsumer consumer)This method is called to fetch entire commits list (graph) from the VCS plugin.voidChangesInfoService. fetchChangesInfo(Collection<String> states, ChangesInfoService.ChangesConsumer consumer)Deprecated.Collects changes information for a given commit.voidFetchService. 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.voidFileContentService. getContent(String version, VcsChangeInfo change, VcsChangeInfo.ContentType direction, OutputStream targetStream)Get binary content of the single file in modification set.voidFileContentService. getPathContent(String filePath, String version, OutputStream targetStream)Get binary content of a single file.CollectChangesService.RevisionMatchedByCheckoutRulesCollectChangesService. getRevisionMatchedByCheckoutRules(VcsSettings vcsSettings, String startRevision, String startRevisionBranchName, Collection<String> stopRevisions)StringCoreRepositoryService. getVcsRootIdentity(VcsSettings settings)StringCoreRepositoryService. getVersionDisplayName(String version)StringLabelingService. label(String label, String revision)Labels sources for given revision and settings.StringLabelingService. label(String label, String message, String revision)Collection<VcsFileData>ListFilesService. listFiles(String directoryPath)StringTestConnectionService. 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 voidCollectChangesCommand. addAll(ChangesConsumer consumer, Collection<? extends ChangeData> commits)abstract voidCollectChangesCommand. collectChanges(VcsRoot fromRepository, RepositoryStateData fromState, VcsRoot toRepository, RepositoryStateData toState, CheckoutRules checkoutRules, ChangesConsumer consumer)Collect changes between repositories.protected abstract voidSingleVersionCollectChangesCommand. collectChanges(VcsRoot fromRepository, String fromState, VcsRoot toRepository, String toState, CheckoutRules checkoutRules, ChangesConsumer consumer)voidSingleVersionCollectChangesCommand. 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 voidCleanPatchServiceImplA. buildCleanPatch(LowLevelPatchBuilder builder, String toRevision)voidIncrementalPatchServiceImpl. buildIncrementalPatch(LowLevelPatchBuilder builder, String fromRevision, String toRevision)static voidBuildPatchUtil. buildPatch(BuildPatchPolicy policy, VcsRoot vcsRoot, String fromVersion, String toVersion, PatchBuilder builder, CheckoutRules checkoutRules)protected voidPatchServiceBase. 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()MappingResultPersonalSupportBatchService. mapPath(Collection<VcsSettings> vcsSettings, String pathToMap, boolean returnFirstMatch)
-