Deprecated API


Contents
Deprecated Interfaces
jetbrains.buildServer.AgentSideCheckoutAbility
          use VcsSupportConfig.isAgentSideCheckoutAvailable() instead 
jetbrains.buildServer.vcs.BuildPatchByIncludeRule
            
jetbrains.buildServer.agent.BuildRunner
          use AgentBuildRunner 
jetbrains.buildServer.vcs.ChangesInfoBuilder
          No longer used by either Upsource or TeamCity 
jetbrains.vcs.api.services.ChangesInfoService
          No longer used by either Upsource or TeamCity 
jetbrains.buildServer.agent.vcs.CheckoutOnAgentVcsSupport
          use provide several AgentVcsExtension implementations. For more details, see AgentVcsRegistry 
jetbrains.buildServer.vcs.CollectChangesBetweenRoots
          see CollectSingleStateChangesBetweenRoots 
jetbrains.buildServer.vcs.CollectChangesByCheckoutRules
          see CollectSingleStateChangesByCheckoutRules 
jetbrains.buildServer.vcs.CollectChangesByIncludeRules
          see CollectSingleStateChangesByIncludeRules 
jetbrains.buildServer.vcs.CollectSingleStateChangesByCheckoutRules
          must be removed before 8.1 
jetbrains.buildServer.vcs.CollectSingleStateChangesByIncludeRules
          must be removed before 8.1 
jetbrains.buildServer.vcs.CurrentVersionIsExpensiveVcsSupport
            
jetbrains.buildServer.serverSide.DataCleaner
          use CleanupExtension instead 
jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.EscapeInfoProvider
          use MapSerializerUtil.EscapeInfoProvider2 
jetbrains.buildServer.parameters.impl.ParametersInOut.ParametersProviderFactory
          Use base interface 
jetbrains.buildServer.agent.ResolvedParameters
            
jetbrains.buildServer.vcs.RootMerger
          since 7.1, you no longer need to implement this interface 
jetbrains.buildServer.serverSide.SQLRunner.NoResultSQLAction
          since 9.0: use SQLRunner.runSql(SQLRunner.NoResultSQLAction) 
jetbrains.buildServer.serverSide.SQLRunner.SQLAction
          since 9.0: use SQLRunner.runSql(SQLRunner.NoResultSQLAction) 
jetbrains.buildServer.util.StringUtil.EscapeInfoProvider
          use StringUtil.EscapeInfoProvider2 
jetbrains.buildServer.agent.vcs.UpdateByCheckoutRules
          Use UpdateByCheckoutRules2 instead 
jetbrains.buildServer.agent.vcs.UpdateByIncludeRules
          use UpdateByIncludeRules2 instead 
jetbrains.buildServer.serverSide.vcs.VcsLabelingSettings
          since 8.1 labeling settings are converted into build feature with type "VcsLabeling". 
jetbrains.buildServer.web.openapi.WebExtension
          see PageExtension and CustomTab 
jetbrains.buildServer.web.openapi.WebResourcesManager
           
 

Deprecated Classes
jetbrains.buildServer.notification.AbstractTemplatesLoader
          since 5.1. Isn't used in TeamCity notification component or by any known plugin. Most probably will be removed in future versions of TeamCity. 
jetbrains.buildServer.util.AntPatternFileFinder
          since 10.0, replaced by AntPatternFileCollector 
jetbrains.buildServer.serverSide.artifacts.ArtifactsInfo
          use SBuild.getArtifacts(BuildArtifactsViewMode)} 
jetbrains.buildServer.agent.BuildPostRunnable
          Use AgentBuildRunner 
jetbrains.buildServer.parameters.impl.CaseInsensitiveParametersProvider
          see jetbrains.buildServer.agent.impl.CaseInsensitiveBuildParams 
jetbrains.buildServer.util.NamedDeamonThreadFactory
          Use NamedDaemonThreadFactory 
jetbrains.buildServer.parameters.ParameterResolverFactory
            
jetbrains.buildServer.util.impl.SevenZArchiveInputStream
          Here unless implemented in commons-compress 
jetbrains.buildServer.SimpleCommandLineProcessRunner.ProcessRunCallbackAdapter
          to be killed in TC 11; use RunCommandEventsAdapter instead 
jetbrains.buildServer.web.openapi.SimpleWebExtension
          see SimplePageExtension instead 
jetbrains.buildServer.notification.Template
          since 5.1. Isn't used in TeamCity notification component or by any known plugin. Most probably will be removed in future versions of TeamCity. 
jetbrains.buildServer.notification.TemplateConfig
          since 5.1. Isn't used in TeamCity notification component or by any known plugin. Most probably will be removed in future versions of TeamCity. 
jetbrains.buildServer.serverSide.TestFailureInfo
          in 9.0, use STestRun.getFullText() instead 
jetbrains.buildServer.vcs.utils.VcsCache
          use CacheProvider instead 
jetbrains.buildServer.vcs.VcsSupport
          implement ServerVcsSupport instead 
jetbrains.buildServer.vcs.VcsSupportUtil.DateVersionComparator
          Use base class instead 
jetbrains.buildServer.vcs.VcsSupportUtil.IntVersionComparator
          Use base class instead 
jetbrains.buildServer.vcs.VcsSupportUtil.StringVersionComparator
          Use base class instead 
 

Deprecated Enums
jetbrains.buildServer.web.openapi.WebPlace
          see PlaceId 
 

Deprecated Fields
jetbrains.buildServer.web.openapi.PlaceId.ADMIN_PROJECTS_TAB
           
jetbrains.buildServer.parameters.ContextVariablesPredefinedNames.AGENT_BUILD
           
jetbrains.buildServer.serverSide.parameters.WellknownParameterArguments.ARGUMENT_ALLOW_INVALID_DEFAULT_VALUE
          use WellknownParameterArguments.ARGUMENT_VALIDATE_DEFAULT_VALUE, this field left for compatibility 
jetbrains.buildServer.vcs.impl.VcsRootImpl.BRANCH_SPEC_PROP
           
jetbrains.buildServer.vcs.impl.VcsRootImpl.CHECKOUT_ROOT
           
jetbrains.buildServer.serverSide.RunType.RUN_TYPE_NAME_SIZE
          use RunTypeInfo.RUN_TYPE_NAME_SIZE 
jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.STD_ESCAPER
          use MapSerializerUtil.STD_ESCAPER2 
jetbrains.buildServer.util.StringUtil.STD_ESCAPER
          use StringUtil.STD_ESCAPER2 
jetbrains.buildServer.serverSide.BuildTypeOptions.VCS_LABELING_BRANCH_FILTER
          since 10.0, vcs labeling is a build feature, no a build option 
jetbrains.buildServer.vcs.impl.VcsRootImpl.VCS_NAME_PROP
           
jetbrains.buildServer.vcs.impl.VcsRootImpl.VCS_ROOT_NAME_PROP
           
 

Deprecated Methods
jetbrains.buildServer.serverSide.SRunningBuild.addBuildMessage(BuildMessage1)
          since 10.0 messages in build log should be logged via BuildLog, see SBuild.getBuildLog() method. 
jetbrains.buildServer.serverSide.SRunningBuild.addBuildMessages(List)
          since 10.0 messages in build log should be logged via BuildLog, see SBuild.getBuildLog() method. 
jetbrains.buildServer.agent.BuildAgentConfiguration.addCustomProperty(String, String)
          use BuildAgentConfiguration.addConfigurationParameter(String, String), BuildAgentConfiguration.addEnvironmentVariable(String, String) or BuildAgentConfiguration.addSystemProperty(String, String) 
jetbrains.buildServer.web.openapi.PagePlace.addExtension(PageExtension, int)
          since 5.1 
jetbrains.buildServer.web.openapi.WebControllerManager.addPageExtension(WebPlace, WebExtension)
          see PagePlace.addExtension(PageExtension) 
jetbrains.buildServer.web.openapi.WebResourcesManager.addPluginResources(String, String)
           
jetbrains.buildServer.web.util.RegExpTextTransformer.addTransformPattern(RegExpTextTransformer.TransformPattern, boolean, Integer)
           
jetbrains.buildServer.serverSide.SBuildType.attachToTemplate(BuildTypeTemplate, boolean)
          use SBuildType.attachToTemplate(BuildTypeTemplate) 
jetbrains.buildServer.agent.AgentLifeCycleAdapter.beforeBuildFinish(BuildFinishedStatus)
           
jetbrains.buildServer.agent.AgentLifeCycleListener.beforeBuildFinish(BuildFinishedStatus)
          use AgentLifeCycleListener.beforeBuildFinish(AgentRunningBuild, BuildFinishedStatus) 
jetbrains.buildServer.agent.AgentLifeCycleAdapter.beforeRunnerStart(AgentRunningBuild)
           
jetbrains.buildServer.agent.AgentLifeCycleListener.beforeRunnerStart(AgentRunningBuild)
          use AgentLifeCycleListener.beforeRunnerStart(BuildRunnerContext) 
jetbrains.buildServer.agent.AgentLifeCycleAdapter.buildFinished(BuildFinishedStatus)
           
jetbrains.buildServer.agent.AgentLifeCycleListener.buildFinished(BuildFinishedStatus)
          use AgentLifeCycleListener.buildFinished(AgentRunningBuild, BuildFinishedStatus) 
jetbrains.buildServer.vcs.VcsSupportUtil.buildPatch(VcsRoot, String, String, PatchBuilder, CheckoutRules, BuildPatchByIncludeRule)
          implement jetbrains.buildServer.vcs.BuildPatchByIncludeRules instead 
jetbrains.buildServer.serverSide.BuildServerAdapter.buildTagsChanged(SBuild, List, List)
           
jetbrains.buildServer.serverSide.BuildServerListener.buildTagsChanged(SBuild, List, List)
          Use BuildServerListener.buildTagsChanged(SBuild, User, List, List) 
jetbrains.buildServer.serverSide.BuildServerAdapter.buildTagsChanged(SBuild, User, List, List)
           
jetbrains.buildServer.serverSide.BuildServerListener.buildTagsChanged(SBuild, User, List, List)
          Use BuildServerListener.buildPromotionTagsChanged(BuildPromotion, User, Collection, Collection) 
jetbrains.buildServer.serverSide.BuildServerAdapter.buildTypeAddedToQueue(SBuildType)
           
jetbrains.buildServer.serverSide.BuildServerListener.buildTypeAddedToQueue(SBuildType)
            
org.apache.xmlrpc.WebServer2.checkSocket(Socket)
          Use allowConnection(Socket) instead. 
jetbrains.buildServer.vcs.DeprecatedVcsRoot.convertToPresentableString()
          use methods of Loggable 
jetbrains.buildServer.vcs.DeprecatedVcsRoot.convertToString()
          use VcsUtil.convertVcsRootToString(VcsRoot) 
jetbrains.buildServer.util.FileUtil.copyResource(String, File)
          Use FileUtil.copyResource(Class, String, java.io.File) to overcome classloader change issues 
jetbrains.buildServer.serverSide.SProject.createBuildType(SBuildType, String, boolean, boolean)
          see SProject.createBuildType(SBuildType, String, CopyOptions) 
jetbrains.buildServer.serverSide.SProject.createBuildType(SBuildType, String, CopyOptions)
          since 8.0, use SProject.copyBuildType(jetbrains.buildServer.serverSide.SBuildType, java.lang.String, java.lang.String, jetbrains.buildServer.serverSide.CopyOptions) instead. 
jetbrains.buildServer.serverSide.SProject.createBuildType(String, String, int, BuildTypeDescriptor.CheckoutType)
          since 8.0, use SProject.createBuildType(String, String) instead. 
jetbrains.buildServer.serverSide.SProject.createBuildTypeTemplate(BuildTypeTemplate, String, CopyOptions)
          since 8.0, use SProject.copyBuildTypeTemplate(jetbrains.buildServer.serverSide.BuildTypeTemplate, java.lang.String, java.lang.String) instead. 
jetbrains.buildServer.serverSide.SProject.createBuildTypeTemplate(SBuildType, String, CopyOptions)
          since 8.0, use SProject.extractBuildTypeTemplate(jetbrains.buildServer.serverSide.SBuildType, java.lang.String, java.lang.String) instead. 
jetbrains.buildServer.serverSide.dependency.DependencyFactory.createDependencyByInternalId(String)
          use DependencyFactory.createDependency(BuildType) or DependencyFactory.createDependency(String) instead. 
jetbrains.buildServer.serverSide.auth.LoginConfiguration.createJAASConfiguration()
          use LoginConfiguration.createJAASConfiguration(AuthModule) 
jetbrains.buildServer.vcs.VcsRootsUpdate.createNewVcsRoot(String, String, Map, VcsRootScope)
          since 8.0, use SProject.createVcsRoot(String, String, java.util.Map) method 
jetbrains.buildServer.vcs.VcsRootsUpdate.createNewVcsRoot(SVcsRoot, VcsRootScope)
          since 8.0, use SProject.createVcsRoot(String,String,String) method 
jetbrains.buildServer.serverSide.ProjectManager.createProject(SProject, String, CopyOptions)
          Use ProjectManager.copyProject(jetbrains.buildServer.serverSide.SProject, jetbrains.buildServer.serverSide.SProject, jetbrains.buildServer.serverSide.CopyOptions) instead. 
jetbrains.buildServer.agentServer.AgentDetails.deserializeFromOldString(String)
          use AgentDetails.deserializeString(String)} 
jetbrains.buildServer.util.cache.SCache.destroy()
          since 9.1.1, use SCache.invalidateAll() method instead. 
jetbrains.buildServer.log.LogInitializer.disableDebug()
          use jetbrains.buildServer.TestLogger#disableMainAndVCSLoggerDebug() instead. 
jetbrains.buildServer.log.LogInitializer.enableDebug()
          use jetbrains.buildServer.TestLogger#enableMainAndVCSLoggerDebug() instead. 
jetbrains.buildServer.serverSide.buildLog.MessagesState.error(String, String, Date, String, String)
          use MessagesState.error(String, String, Date, String, String, Collection) 
jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.escapeStr(String, MapSerializerUtil.EscapeInfoProvider)
          use MapSerializerUtil.escapeStr(String, jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.EscapeInfoProvider2) 
jetbrains.buildServer.util.StringUtil.escapeStr(String, StringUtil.EscapeInfoProvider)
          use StringUtil.escapeStr(String, jetbrains.buildServer.util.StringUtil.EscapeInfoProvider2) 
jetbrains.buildServer.issueTracker.AbstractIssueProvider.fetchProjectIds()
           
jetbrains.buildServer.issueTracker.IssueFetcher.fetchProjectIds(String, IssueFetcherAuthenticator)
           
jetbrains.buildServer.serverSide.ProjectManager.findProjectByName(String)
          since 8.0, use SProject.findProjectByName(String) 
jetbrains.buildServer.vcs.VcsRootsManager.findRootByIdAndVersion(long, long)
          since 6.5 
jetbrains.buildServer.vcs.VcsRootsManager.findRootByName(String)
          since 8.0 
jetbrains.buildServer.responsibility.TestNameResponsibilityFacade.findTestNameResponsibility(TestName, String)
          since 8.0, consider using TestNameResponsibilityFacade.findAllTestNameResponsibilities(jetbrains.buildServer.tests.TestName, String) 
jetbrains.buildServer.serverSide.BuildStatistics.findTestsBy(TestName)
          since 9.0, returns a collection of one composite test run element 
jetbrains.buildServer.vcs.VcsRegistry.findVcsContextByName(String)
          since 8.0, you should use VcsServiceProvider methods to obtain VcsService classes 
jetbrains.buildServer.serverSide.SBuildType.forceCheckingForChanges()
          Use SBuildType.forceCheckingForChanges(OperationRequestor) instead 
jetbrains.buildServer.agent.BuildAgentConfiguration.getAgentParameters()
          use BuildAgentConfiguration.getBuildParameters() or BuildAgentConfiguration.getConfigurationParameters() to get resolved parameters map 
jetbrains.buildServer.agent.BuildAgentConfiguration.getAgentTempDirectory()
          use AgentBuildSettings.getAgentTempDirectory() 
jetbrains.buildServer.vcs.VcsRegistry.getAllVcs()
          since 8.0, you should use VcsRegistry.getAllVcsCore() method 
jetbrains.buildServer.serverSide.artifacts.ArtifactsInfo.getArtifactsDir(Build)
          use SBuild.getArtifactsDirectory() 
jetbrains.buildServer.serverSide.auth.LoginConfiguration.getAuthType()
          since useless 
jetbrains.buildServer.serverSide.SQueuedBuild.getBuildAgent()
          use QueuedBuild.getAgentRestrictor(). Returns actual agent to which build configuration is scheduled or null if there is no such agent or build configuration is not scheduled to a specific agent. 
jetbrains.buildServer.QueuedBuild.getBuildAgentId()
          use QueuedBuild.getAgentRestrictor(). If build configuration scheduled to some specific build agent, the id of the build agent is returned, otherwise null is returned. 
jetbrains.buildServer.serverSide.buildDistribution.QueuedBuildInfo.getBuildAgentId()
          use QueuedBuildInfo.getAgentRestrictor(). 
jetbrains.buildServer.serverSide.BuildNumbers.getBuildNumber()
          since 8.0 
jetbrains.buildServer.agent.AgentRunningBuild.getBuildParameters()
          use BuildRunnerContext.getBuildParameters()} returns build parameters of currently selected build runner 
jetbrains.buildServer.agent.AgentBuildSettings.getBuildPreviousVersion(VcsRoot)
          see jetbrains.buildServer.agent.impl.vcs.AgentWorkDirRevisionManager#getCurrentState(jetbrains.buildServer.agent.AgentRunningBuild) 
jetbrains.buildServer.agent.BuildAgentConfiguration.getBuildTempDirectory()
          use AgentBuildSettings.getBuildTempDirectory() 
jetbrains.buildServer.serverSide.ProjectManager.getBuildTypesDependingOn(SBuildType)
          use SBuildType.getArtifactsReferences() 
jetbrains.buildServer.vcs.RootMerger.getCommonParent(VcsRoot, VcsRoot)
           
jetbrains.buildServer.vcs.ChangeStatus.getCompilationProblems()
          since 7.0 
jetbrains.buildServer.vcs.ChangeStatus.getCurrentBuilds()
          since 7.0, use #getConfigurationsStatus to get this information 
jetbrains.buildServer.vcs.ServerVcsSupport.getCurrentVersion(VcsRoot)
          this method could now be implemented via VcsSupportContext.getCollectChangesPolicy() 
jetbrains.buildServer.agent.BuildAgentConfiguration.getCustomProperties()
          use BuildAgentConfiguration.getBuildParameters() or BuildAgentConfiguration.getConfigurationParameters() 
jetbrains.buildServer.serverSide.statistics.build.BuildDataStorage.getData(String, BuildValueTransformer, long, String)
          since 8.0 use BuildDataStorage.getData(String, BuildValueTransformer, jetbrains.buildServer.serverSide.SBuild) or SBuild.getStatisticValue(String). 
jetbrains.buildServer.agent.AgentBuildSettings.getDefaultCheckoutDirectory()
          since 10.0. Default checkout directory name is equal to the vcs settings hash that depends on effective checkout mode, use AgentBuildSettings.getVcsSettingsHashForCheckoutMode(AgentCheckoutMode) 
jetbrains.buildServer.serverSide.AgentDescription.getDefinedParameters()
          Use AgentDescription.getConfigurationParameters() or AgentDescription.getBuildParameters(). This method returns merged map of both AgentDescription.getConfigurationParameters() or AgentDescription.getBuildParameters(). 
jetbrains.buildServer.agent.BuildAgentConfiguration.getEnv(String)
          use BuildAgentConfiguration.getBuildParameters() -> BuildParametersMap.getEnvironmentVariables() 
jetbrains.buildServer.serverSide.STestRun.getFailureInfo()
          in 9.0, use STestRun.getFullText() instead 
jetbrains.buildServer.serverSide.VcsStatusProvider.getFailuresPerBuildType()
          use LVcsStatusLogger.getConnectionStatus(LVcsRootInstanceHolder, jetbrains.buildServer.vcs.VcsRoot) 
jetbrains.buildServer.serverSide.vcs.VcsLabelingSettings.getLabelingRoots()
          since 8.1 always returns empty collection 
jetbrains.buildServer.vcs.ServerVcsSupport.getLabelingSupport()
          see LabelingService 
jetbrains.buildServer.serverSide.vcs.VcsLabelingSettings.getLabelingType()
          since 8.1 always returns LabelingType.NONE 
jetbrains.buildServer.serverSide.vcs.VcsLabelingSettings.getLabelPattern()
          since 8.1 always returns empty string 
jetbrains.buildServer.artifacts.DependencyResolverContext.getListener()
          Use DependencyResolver.addListener() and DependencyResolver.removeListener() instead 
jetbrains.buildServer.agent.AgentRunningBuild.getMandatoryBuildParameters()
          use config parameters from BuildAgentConfiguration or jetbrains.buildServer.agent.BuildContext This method returns the same as AgentRunningBuild.getRunnerParameters() 
jetbrains.buildServer.serverSide.buildLog.BuildLogReader.getMessages()
          Since constructing of list of all messages can be memory consuming it is recommended to use BuildLogReader.getMessagesIterator() method instead. 
jetbrains.buildServer.vcs.VcsManager.getModificationUsers(SVcsModification)
          use SVcsModification.getCommitters() 
jetbrains.buildServer.serverSide.SQLRunner.getNextId(String, String)
          since 9.0: use jetbrains.buildServer.serverSide.db.IdSequence instead. 
jetbrains.buildServer.serverSide.auth.LoginModuleDescriptor.getOptions()
          use LoginModuleDescriptor.getJAASOptions(java.util.Map) 
jetbrains.buildServer.serverSide.BuildTypeTemplate.getParentProject()
          use BuildTypeTemplate.getProject() 
jetbrains.buildServer.serverSide.BuildTypeTemplate.getParentProjectId()
          use BuildTypeTemplate.getProjectId() 
jetbrains.buildServer.vcs.ChangeStatus.getPendingBuildTypes()
          since 7.0, get info from #getConfigurationsStatus 
jetbrains.buildServer.vcs.VcsModificationHistory.getPendingModifications(SBuildType)
          see SBuildType.getPendingChanges() 
jetbrains.buildServer.vcs.ServerVcsSupport.getPersonalSupport()
          see PersonalSupportBatchService 
jetbrains.buildServer.vcs.RootMerger.getPrefixPath(VcsRoot, VcsRoot)
           
jetbrains.buildServer.agentServer.AgentBuild.getPreviousRevision(VcsRoot)
          use agent revision information from jetbrains.buildServer.agent.impl.vcs.AgentWorkDirRevisionManager instead 
jetbrains.buildServer.serverSide.mute.CurrentMuteInfo.getProjectMuteInfo()
          use CurrentMuteInfo.getProjectsMuteInfo() instead. 
jetbrains.buildServer.vcs.DeprecatedVcsRoot.getPropertiesHash()
          use VcsUtil.getVcsRootPropertiesHash(VcsRoot) 
jetbrains.buildServer.vcs.DeprecatedVcsRoot.getPublicProperties()
          use VcsUtil.getVcsRootPublicProperties(VcsRoot) 
jetbrains.buildServer.serverSide.SRunningBuild.getQueuedAgentId()
          use SRunningBuild.getQueuedAgentRestrictor(). Returns id of an agent this build was queued on (when build configuration was added to queue). Returns null if build was not queued on a specific agent. 
jetbrains.buildServer.serverSide.SQueuedBuild.getRequestor()
          see SQueuedBuild.getTriggeredBy() 
jetbrains.buildServer.agent.AgentRunningBuild.getResolvedParameters()
          use BuildRunnerContext.getRunnerParameters() returns runner parameters of currently selected build runner 
jetbrains.buildServer.serverSide.STest.getResponsibility()
          since 8.0, consider using STest.getAllResponsibilities() 
jetbrains.buildServer.agent.AgentRunningBuild.getRunnerParameters()
          use BuildRunnerContext.getRunnerParameters()} returns runner parameters of currently selected build runner 
jetbrains.buildServer.agent.AgentRunningBuild.getRunType()
          use BuildRunnerContext.getRunType() returns runner parameters of currently selected build runner 
jetbrains.buildServer.serverSide.auth.LoginConfiguration.getSelectedLoginModuleDescriptor()
          use LoginConfiguration.getConfiguredLoginModules() 
jetbrains.buildServer.NetworkUtil.getSelfAddresses()
          since 8.1, use NetworkUtil.getSelfAddresses(jetbrains.buildServer.util.filters.Filter) 
jetbrains.buildServer.serverSide.TestFailureInfo.getShortStacktrace()
          in 9.0, use STestRun.getFullText() instead 
jetbrains.buildServer.serverSide.TestFailureInfo.getShortStacktraceForWeb()
          in 9.0, use STestRun.getFullText() instead 
jetbrains.buildServer.buildTriggers.BuildTriggerDescriptor.getSignature()
          since 7.0 same as ParametersDescriptor.getId() 
jetbrains.buildServer.BuildTypeData.getStatus()
           
jetbrains.buildServer.vcs.VcsManager.getStatus(SVcsRoot)
          This method should not be used, because it returns questionable data when a VCS Root is parameterized and used in different build configurations 
jetbrains.buildServer.vcs.ServerVcsSupport.getTestConnectionSupport()
          see TestConnectionService 
jetbrains.buildServer.serverSide.STest.getTestId()
          use STest.getTestNameId() instead. 
jetbrains.buildServer.util.NamedThreadFactory.getThreadDump()
          use DiagnosticUtil 
jetbrains.buildServer.agent.AgentRunningBuild.getUnresolvedParameters()
          use BuildRunnerContext, returns parameters of currently selected build runner. 
jetbrains.buildServer.vcs.SVcsRootUsages.getUsages()
          Since 10.0, consider using SVcsRootUsages.getUsagesInConfigurations(). 
jetbrains.buildServer.vcs.VcsManager.getVcsHistory()
          use spring to autowire VcsModificationHistory 
jetbrains.buildServer.serverSide.SourceVersionProvider.getVcsRootRevisionOnAgent(SRunningBuild, VcsRootInstance)
          use revision information received from agent instead 
jetbrains.buildServer.serverSide.SBuildType.getVcsRootsHash()
          since 10.0 
jetbrains.buildServer.serverSide.SBuildType.getVcsSettingsHash()
          since 10.0 
jetbrains.buildServer.serverSide.SBuildType.getVcsSettingsHash(List)
          since 10.0 
jetbrains.buildServer.vcs.VcsManager.getVcsStatusProvider()
          use spring to autowire VcsStatusProvider 
jetbrains.buildServer.agent.AgentRunningBuild.getWorkingDirectory()
          use BuildRunnerContext.getWorkingDirectory() this method returns working directory of first build runner. 
jetbrains.buildServer.agent.BuildAgent.getXmlRpcHandlerManager()
          since 9.1 use ServerCommandsHandlersRegistry. Handlers registered using this method will be available only by XML RPC. 
jetbrains.buildServer.messages.XStreamHolder.getXStream()
          Use XStreamHolder.getXStream(ClassLoader) 
jetbrains.buildServer.serverSide.BuildNumbers.increaseBuildNumber()
          since 8.0 
jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.indexOf(String, char, MapSerializerUtil.EscapeInfoProvider)
          use MapSerializerUtil.indexOf(String, char, jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.EscapeInfoProvider2) 
jetbrains.buildServer.util.StringUtil.indexOf(String, char, StringUtil.EscapeInfoProvider)
          use StringUtil.indexOf(String, char, jetbrains.buildServer.util.StringUtil.EscapeInfoProvider2) 
jetbrains.buildServer.agent.BuildAgent.init(String[])
          should not be called from plugin code 
jetbrains.buildServer.serverSide.PersonalBuildManager.isApplicable(VcsRootInstanceEntry, Collection)
          since 10.0, not used in TC code anymore 
jetbrains.buildServer.vcs.VcsSupportConfig.isDAGBasedVcs()
          Not used anymore since 10.0, use VcsSupportConfig.isDAGBased(VcsRoot) to provide actual implementation 
jetbrains.buildServer.vcs.impl.VcsRootImpl.isEquivalentRoots(VcsRoot, VcsRoot)
          use VcsUtil.areEquivalentRoots(jetbrains.buildServer.vcs.VcsRoot, jetbrains.buildServer.vcs.VcsRoot) 
jetbrains.buildServer.vcs.ChangeStatus.isFailed(SBuildType)
          since 7.0, use BuildTypeChangeStatus#isFailed to get this information 
jetbrains.buildServer.messages.Status.isIgnored()
          use jetbrains.buildServer.serverSide.STestRun#isIgnored() instead 
jetbrains.buildServer.serverSide.PersonalBuildManager.isRelated(VcsRootInstanceEntry, Collection)
          since 10.0, not used in TC code anymore 
jetbrains.buildServer.vcs.ChangeStatus.isSuccessful(SBuildType)
          since 7.0, use BuildTypeChangeStatus#isSuccessful to get this information 
jetbrains.buildServer.UserChangeInfo.BuildTypeChangeStatus.isSuspicious()
          use !isSuccessful() instead 
jetbrains.buildServer.util.ExceptionUtil.log(Logger, String, Throwable)
          since 9.0, use Logger#warnAndDebugDetails(String, Throwable) 
jetbrains.buildServer.util.ExceptionUtil.log(Logger, String, Throwable)
          since 9.0, use Logger#warnAndDebugDetails(String, Throwable) 
jetbrains.buildServer.serverSide.buildLog.MessagesState.message(String, Status, Date, String, String)
          use MessagesState.message(String, Status, MessageAttrs) 
jetbrains.buildServer.serverSide.buildLog.MessagesState.message(String, Status, Date, String, String, Collection)
          use MessagesState.message(String, Status, MessageAttrs) 
jetbrains.buildServer.serverSide.BuildServerAdapter.messageReceived(SRunningBuild, BuildMessage1)
           
jetbrains.buildServer.serverSide.BuildServerListener.messageReceived(SRunningBuild, BuildMessage1)
          since 10.0 this method no longer works 
jetbrains.buildServer.serverSide.SBuildType.moveToProject(SProject, boolean)
          use SBuildType.moveToProject(SProject) 
jetbrains.buildServer.serverSide.buildLog.MessagesState.openBlock(String, String, Date, String, String)
          use MessagesState.openBlock(String, String, MessageAttrs) 
jetbrains.buildServer.serverSide.buildLog.MessagesState.openBlock(String, String, Date, String, String, Collection)
          use MessagesState.openBlock(String, String, MessageAttrs) 
jetbrains.buildServer.serverSide.buildLog.MessagesState.openProgressBlock(String, Date, String)
          use MessagesState.openProgressBlock(String, Date, String, Collection) 
jetbrains.buildServer.serverSide.BuildNumbers.persist()
          since 5.0 (use SBuildType.persist() if you want to persist build number pattern) 
jetbrains.buildServer.vcs.VcsRootsUpdate.persistVcsRoots()
          since 8.0, use SVcsRootUpdate.persist() method 
jetbrains.buildServer.serverSide.buildLog.MessagesState.progressMessage(String, Date, String)
          use MessagesState.openProgressBlock(String, Date, String, Collection) 
jetbrains.buildServer.serverSide.BuildServerAdapter.projectRemoved(String)
           
jetbrains.buildServer.serverSide.BuildServerListener.projectRemoved(String)
          see BuildServerListener.projectRemoved(SProject) 
jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.propertiesToString(Map, MapSerializerUtil.EscapeInfoProvider)
          use MapSerializerUtil.propertiesToString(java.util.Map, jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.EscapeInfoProvider2) 
jetbrains.buildServer.util.StringUtil.propertiesToString(Map, StringUtil.EscapeInfoProvider)
          use StringUtil.propertiesToString(java.util.Map, jetbrains.buildServer.util.StringUtil.EscapeInfoProvider2) 
jetbrains.buildServer.configuration.FilesWatcher.registerListener(ChangeListener)
          use FilesWatcher.registerListener(FileWatcherListener) 
jetbrains.buildServer.serverSide.auth.LoginConfiguration.registerLoginModule(LoginModuleDescriptor)
          use LoginConfiguration.registerAuthModuleType(AuthModuleType) 
jetbrains.buildServer.serverSide.SProject.removeBuildType(String)
          since 8.0, use BuildTypeIdentity.remove() instead. 
jetbrains.buildServer.serverSide.SProject.removeBuildTypes()
          since 8.0, use BuildTypeIdentity.remove() or BuildTypeIdentity.remove() methods in order to completely remove build types or templates with their configuration files 
jetbrains.buildServer.serverSide.SProject.removeBuildTypeTemplate(String)
          use BuildTypeIdentity.remove() instead. 
jetbrains.buildServer.web.openapi.WebControllerManager.removePageExtension(WebPlace, WebExtension)
          see PagePlace.removeExtension(PageExtension) 
jetbrains.buildServer.web.util.RegExpTextTransformer.removeTransformPattern(String)
           
jetbrains.buildServer.vcs.VcsRootsUpdate.removeVcsRoot(long)
          since 8.0, use SVcsRootUpdate.remove() method 
jetbrains.buildServer.web.openapi.WebResourcesManager.resourcePath(String, String)
           
jetbrains.buildServer.serverSide.BuildServerAdapter.responsibleChanged(SProject, TestNameResponsibilityEntry, TestNameResponsibilityEntry, boolean)
           
jetbrains.buildServer.serverSide.BuildServerListener.responsibleChanged(SProject, TestNameResponsibilityEntry, TestNameResponsibilityEntry, boolean)
          Is not used since TeamCity 8.1, use collection-based #responsibleChanged method instead. 
jetbrains.buildServer.serverSide.SQLRunner.runSql(SQLRunner.NoResultSQLAction)
          since 9.0. Use jetbrains.buildServer.serverSide.db.queries.GenericQuery instead. 
jetbrains.buildServer.serverSide.SQLRunner.runSql(SQLRunner.NoResultSQLAction, boolean)
          since 9.0: use SQLRunner.runSql(SQLRunner.NoResultSQLAction) 
jetbrains.buildServer.serverSide.SQLRunner.runSql(SQLRunner.SQLAction)
          since 9.0. Use jetbrains.buildServer.serverSide.db.queries.GenericQuery instead. 
jetbrains.buildServer.agentServer.AgentDetails.serializeToOldString()
          use AgentDetails.serializeToString() 
jetbrains.buildServer.serverSide.SRunningBuild.setBuildStatus(Status)
          use jetbrains.buildServer.serverSide.SBuild#addBuildProblem to fail build and jetbrains.buildServer.serverSide.SBuild#muteBuildProblems to mark build as successful 
jetbrains.buildServer.agentServer.AgentBuild.setDefaultCheckoutDirectory(String)
          since 10.0 
jetbrains.buildServer.artifacts.DependencyResolverContext.setListener(DependencyResolverListener)
          Use DependencyResolver.addListener() and DependencyResolver.removeListener() instead 
jetbrains.buildServer.serverSide.SBuildType.setPaused(boolean, User)
          use SBuildType.setPaused(boolean, jetbrains.buildServer.users.User, String) 
jetbrains.buildServer.serverSide.SFinishedBuild.setPinned(boolean)
          Use SFinishedBuild.setPinned(boolean, jetbrains.buildServer.users.User, String) method 
jetbrains.buildServer.agentServer.AgentBuild.setPreviousRevision(long, String)
          use agent revision information from jetbrains.buildServer.agent.impl.vcs.AgentWorkDirRevisionManager instead 
jetbrains.buildServer.vcs.VcsException.setRoot(Object)
          core will take care to associate vcs exception and settings 
jetbrains.buildServer.serverSide.SRunningBuild.setSignature(int)
          setting signature to the builds is not req. any more, signature is calculated from build problems 
jetbrains.buildServer.tags.TagsManager.setTags(List, SBuild)
          Use TagsManager.setTags(User, List, SBuild) 
jetbrains.buildServer.serverSide.SBuild.setTags(User, List)
          Use {@link #setTags(List)) {@link #getBuildPromotion().setTags(List)), user will be retrieved from context 
jetbrains.buildServer.tags.TagsManager.setTags(User, List, SBuild)
          Use BuildPromotion.setTagDatas(Collection) 
jetbrains.buildServer.vcs.VcsRootsUpdate.setVcsRootScope(long, VcsRootScope)
          since 8.0, use SVcsRootUpdate.moveToProject(jetbrains.buildServer.serverSide.SProject) method 
jetbrains.buildServer.messages.serviceMessages.ServiceMessage.splitTextToPotentialMessages(String)
          will be removed in further versions 
jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.stringToProperties(String, MapSerializerUtil.EscapeInfoProvider)
          use MapSerializerUtil.stringToProperties(String, jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.EscapeInfoProvider2) 
jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.stringToProperties(String, MapSerializerUtil.EscapeInfoProvider, boolean)
          use MapSerializerUtil.stringToProperties(String, jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.EscapeInfoProvider2, boolean) 
jetbrains.buildServer.util.StringUtil.stringToProperties(String, StringUtil.EscapeInfoProvider)
          use StringUtil.stringToProperties(String, jetbrains.buildServer.util.StringUtil.EscapeInfoProvider2)} 
jetbrains.buildServer.util.StringUtil.stringToProperties(String, StringUtil.EscapeInfoProvider, boolean)
          use StringUtil.stringToProperties(String, jetbrains.buildServer.util.StringUtil.EscapeInfoProvider2, boolean)} 
jetbrains.buildServer.util.PluralUtil.toPluralIfNeeded(String, int)
          use StringUtil.pluralize(String, int) instead 
jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.unescapeStr(String, MapSerializerUtil.EscapeInfoProvider)
          use MapSerializerUtil.unescapeStr(String, jetbrains.buildServer.messages.serviceMessages.MapSerializerUtil.EscapeInfoProvider2) 
jetbrains.buildServer.util.StringUtil.unescapeStr(String, StringUtil.EscapeInfoProvider)
          use StringUtil.unescapeStr(String, jetbrains.buildServer.util.StringUtil.EscapeInfoProvider2) 
jetbrains.buildServer.util.CollectionsUtil.unite(Collection...)
          use CollectionsUtil.join(java.util.Collection...) 
jetbrains.buildServer.configuration.FilesWatcher.unregisterListener(ChangeListener)
          use FilesWatcher.unregisterListener(FileWatcherListener) 
jetbrains.buildServer.serverSide.SProject.updateProjectInTransaction(SProject.ProjectUpdater)
          use SProject.persist() 
jetbrains.buildServer.util.NamedThreadFactory.updateThreadName(String)
          use NamedThreadFactory.patchThreadName(String) or NamedThreadFactory.executeWithNewThreadName(String, Runnable) 
jetbrains.buildServer.vcs.VcsRootsUpdate.updateVcsRoot(long, String, String, Map)
          since 8.0, use SVcsRoot methods 
jetbrains.buildServer.serverSide.BuildServerAdapter.vcsRootsPersisted()
           
jetbrains.buildServer.serverSide.BuildServerListener.vcsRootsPersisted()
          since 8.0, use BuildServerListener.vcsRootPersisted(jetbrains.buildServer.vcs.SVcsRoot) instead 
jetbrains.buildServer.util.cache.SCache.write(String, T, int)
          since 8.0 please use ttL set for the whole cache instead 
jetbrains.buildServer.util.FileUtil.writeFile(File, String)
          This procedure loses exceptions that is very dangerous. Use FileUtil.writeFileAndReportErrors(java.io.File, java.lang.String) instead. 
jetbrains.buildServer.serverSide.SimpleParameter.writeTo(Element)
          use jetbrains.buildServer.util.XmlUtil#writeParameter(org.jdom.Element, java.lang.String, java.lang.String) 
 

Deprecated Constructors
jetbrains.buildServer.issueTracker.AbstractIssueFetcher(EhCacheUtil)
          since 10.0, will be removed in future versions 
jetbrains.buildServer.web.openapi.healthStatus.suggestions.BuildTypeSuggestion(String, PagePlaces)
          since 9.0 
jetbrains.buildServer.serverSide.statistics.build.BuildValue(long, BigDecimal, String, String, String, long, long, boolean, boolean, String)
           
jetbrains.buildServer.parameters.impl.CaseInsensitiveParametersProvider(MapParametersProvider)
          use another constructor 
jetbrains.buildServer.parameters.impl.CaseInsensitiveParametersProvider(MapParametersProvider, String[])
           
jetbrains.buildServer.serverSide.auth.PermissionsHolder(AuthorityHolder)
          use PermissionsHolder.setPermissions(Permissions, java.util.Map) 
jetbrains.buildServer.serverSide.userChanges.PersonalChangeDescriptor(long, long, PreTestedCommitType, Status, PersonalChangeCommitDecision, List)
          use PersonalChangeDescriptor.PersonalChangeDescriptor(long, long, PreTestedCommitType, jetbrains.buildServer.messages.Status, PersonalChangeCommitDecision) Creates new personal change descriptor object 
jetbrains.buildServer.serverSide.userChanges.PersonalChangeInfo(long, long, String, Date, ChangedFilesLoader, PreTestedCommitType, Status, PersonalChangeCommitDecision, List)
          use PersonalChangeInfo.PersonalChangeInfo(long, long, String, java.util.Date, ChangedFilesLoader, PreTestedCommitType, jetbrains.buildServer.messages.Status, PersonalChangeCommitDecision) or PersonalChangeInfo.PersonalChangeInfo(long, String, java.util.Date, PreTestedCommitType) 
jetbrains.buildServer.agent.runner.SimpleProgramCommandLine(AgentRunningBuild, String, List)
          Use BuildServiceAdapter.createProgramCommandline(String, java.util.List) 
 

Deprecated Enum Constants
jetbrains.buildServer.serverSide.CopyOptions.Option.COPY_PROJECT_TEMPLATES
          not used since 8.0 
jetbrains.buildServer.serverSide.CopyOptions.Option.COPY_VCS_ROOTS
          since 8.0 (always enabled) 
jetbrains.buildServer.vcs.patches.PatcherConstants.CREATE_BINARY_INT
          use PatcherConstants.CREATE_BINARY 
jetbrains.buildServer.vcs.patches.PatcherConstants.CREATE_TEXT_USING_BYTES_INT
          use PatcherConstants.CREATE_TEXT_USING_BYTES 
jetbrains.buildServer.vcs.patches.PatcherConstants.REPLACE_BINARY_INT
          use PatcherConstants.REPLACE_BINARY 
jetbrains.buildServer.vcs.patches.PatcherConstants.REPLACE_TEXT_USING_BYTES_INT
          use PatcherConstants.REPLACE_TEXT_USING_BYTES 
jetbrains.buildServer.serverSide.CopyOptions.Option.SHARE_VCS_ROOTS
          since 8.0