Deprecated API


Contents
Deprecated Interfaces
hudson.model.DependecyDeclarer
          Use DependencyDeclarer instead. 
hudson.util.DescribableList.Owner
          since 2008-08-15. Just implement Saveable. 
hudson.security.InvalidatableUserDetails
          Starting 1.285, Hudson stops persisting Authentication altogether (see NonSerializableSecurityContext), so there's no need to use this mechanism. 
 

Deprecated Classes
hudson.model.AbstractBuild.AbstractRunner
          as of 1.467 Please use RunExecution 
hudson.model.Build.RunnerImpl
          as of 1.467 Please use Build.BuildExecution 
hudson.model.BuildAuthorizationToken
          2008-07-20 Use ACL and Item.BUILD. This code is only here for the backward compatibility. 
hudson.tasks.BuildStepCompatibilityLayer
          since 1.150 
hudson.util.ByteBuffer
          since 2008-05-28. Moved to stapler 
hudson.model.Cause.LegacyCodeCause
          since 2009-02-08 
hudson.model.Cause.UserCause
          1.428 use Cause.UserIdCause 
hudson.util.CharSpool
          since 2008-05-28. moved to stapler 
hudson.security.DeferredCreationLdapAuthoritiesPopulator
          as of 1.280 SecurityRealm.SecurityComponents are now created after SecurityRealm is created, so the initialization order issue that this code was trying to address no longer exists. 
hudson.util.FormFieldValidator
          as of 1.294 Use FormValidation as a return value in your check method. 
hudson.util.FormFieldValidator.Base64
          as of 1.305 Use FormValidation.validateBase64(String, boolean, boolean, String) instead. 
hudson.util.FormFieldValidator.Executable
          as of 1.294. Use FormValidation.validateExecutable(String) 
hudson.util.FormFieldValidator.NonNegativeInteger
          as of 1.294 Use FormValidation.validateNonNegativeInteger(String) 
hudson.util.FormFieldValidator.URLCheck
          as of 1.294 Use FormValidation.URLCheck 
hudson.util.FormFieldValidator.WorkspaceDirectory
          as of 1.294. Use FilePath.validateRelativeDirectory(String, boolean) (see javadoc plugin for the example) 
hudson.util.FormFieldValidator.WorkspaceFileMask
          as of 1.294. Use FilePath.validateFileMask(String, boolean) 
hudson.util.FormFieldValidator.WorkspaceFilePath
          as of 1.294. Use FilePath.validateRelativePath(String, boolean, boolean) 
hudson.model.Hudson.CloudList
          only here for backward comp 
hudson.model.Hudson.MasterComputer
          only here for backward comp 
hudson.model.Jobs
          since 1.281 
hudson.model.LargeText
          moved to stapler, as of Hudson 1.220 
hudson.util.LineEndNormalizingWriter
          since 2008-05-28. moved to stapler 
hudson.security.NotSerilizableSecurityContext
          use NonSerializableSecurityContext instead 
hudson.Proc.RemoteProc
          as of 1.399. Replaced by Launcher.RemoteLauncher.ProcImpl 
hudson.util.ProcessTreeKiller
          as of 1.315. Use ProcessTree. 
hudson.model.Run.Runner
          as of 1.467 Please use Run.RunExecution 
hudson.util.StringConverter2
          since 2009-11-06 Use HeapSpaceStringConverter instead. 
hudson.tasks.junit.TestObject
          Use TestObject instead. 
hudson.triggers.Triggers
          as of 1.286 See each member for how to migrate your code. 
hudson.model.UserProperties
          as of 1.286 
hudson.util.WriterOutputStream
          since 2008-05-28. Use the one in stapler. 
 

Deprecated Fields
hudson.model.PageDecorator.ALL
          as of 1.286 Use PageDecorator.all() for read access, and use Extension for registration. 
hudson.slaves.NodeDescriptor.ALL
          as of 1.286 Use NodeDescriptor.all() for read access, and Extension for registration. 
hudson.slaves.Cloud.ALL
          as of 1.286 Use Cloud.all() for read access, and Extension for registration. 
hudson.scm.ChangeLogAnnotator.annotators
          as of 1.286 Use ChangeLogAnnotator.all() for read access, and Extension for registration. 
hudson.security.HudsonFilter.AUTHENTICATION_MANAGER
          in 1.271. This proxy always delegate to Hudson.getInstance().getSecurityRealm().getSecurityComponents().manager, so use that instead. 
hudson.util.ChartUtil.awtProblem
          Use awtProblemCause!=null instead. As of 1.267. 
hudson.tasks.BuildStep.BUILDERS
          as of 1.286. Use Builder.all() for read access, and use Extension for registration. 
hudson.model.RunMap.COMPARATOR
          as of 1.485 Use ReverseComparator 
jenkins.model.Jenkins.CONCURRENT_BUILD
          as of 1.464 This flag will have no effect. 
hudson.PluginManager.context
          as of 1.355 PluginManager can now live longer than Jenkins instance, so use Hudson.getInstance().servletContext instead. 
hudson.model.LoadBalancer.DEFAULT
          as of 1.377 The only implementation in the core now is the one based on consistent hash. 
hudson.tasks.ArtifactArchiver.DESCRIPTOR
          as of 1.286 Some plugin depends on this, so this field is left here and points to the last created instance. Use Jenkins.getDescriptorByType(Class) instead. 
hudson.tasks.Maven.DESCRIPTOR
          as of 1.286 Use Jenkins.getDescriptorByType(Class) to obtain the current instance. For compatibility, this field retains the last created Maven.DescriptorImpl. TODO: fix sonar plugin that depends on this. That's the only plugin that depends on this field. 
hudson.security.Permission.FULL_CONTROL
          since 2009-01-23. Use Jenkins.ADMINISTER. 
hudson.maven.MavenModuleSet.globalSettingConfigPath
          since 1.484 settings are provided by MavenModuleSet.globalSettings 
hudson.ExtensionList.hudson
          as of 1.417 Use ExtensionList.jenkins 
hudson.security.Permission.HUDSON_ADMINISTER
          since 2009-01-23. Access Jenkins.ADMINISTER instead. 
hudson.security.Permission.HUDSON_PERMISSIONS
          since 2009-01-23. Access Jenkins.PERMISSIONS instead. 
hudson.model.ParameterDefinition.LIST
          as of 1.286 Use ParameterDefinition.all() for read access, and Extension for registration. 
hudson.model.UserProperties.LIST
          as of 1.286 Use UserProperty.all() for read access and Extension for auto-registration. 
hudson.model.Items.LIST
          as of 1.286 Use Items.all() for read access and Extension for registration. 
hudson.model.ManagementLink.LIST
          as of 1.286 Use ManagementLink.all() for read access and put Extension for registration. 
hudson.model.View.LIST
          as of 1.286 Use View.all() for read access, and use Extension for registration. 
hudson.scm.RepositoryBrowsers.LIST
          as of 1.286. Use RepositoryBrowser.all() for read access and Extension for registration. 
hudson.node_monitors.NodeMonitor.LIST
          as of 1.286. Use NodeMonitor.all() for read access and Extension for registration. 
hudson.views.ListViewColumn.LIST
          as of 1.281 Use ListViewColumn.all() for read access and Extension for registration. 
hudson.tasks.UserNameResolver.LIST
          since 2009-02-24. Use UserNameResolver.all() for read access, and use Extension for registration. 
hudson.security.AuthorizationStrategy.LIST
          since 1.286 Use AuthorizationStrategy.all() for read access, and Extension for registration. 
hudson.security.SecurityRealm.LIST
          as of 1.286 Use SecurityRealm.all() for read access, and use Extension for registration. 
hudson.slaves.ComputerLauncher.LIST
          as of 1.281 Use Extension for registration, and use Jenkins.getDescriptorList(Class) for read access. 
hudson.slaves.RetentionStrategy.LIST
          as of 1.286 Use RetentionStrategy.all() for read access, and Extension for registration. 
hudson.maven.MavenReporters.LIST
          as of 1.286. Use MavenReporterDescriptor#all() for listing reporters, and use Extension for automatic registration. 
hudson.model.listeners.RunListener.LISTENERS
          as of 1.281 Use RunListener.all() for read access, and use Extension for registration. 
hudson.os.windows.ManagedWindowsServiceLauncher.logOn
          Use ManagedWindowsServiceLauncher.account 
hudson.maven.MojoInfo.mojo
          as of 1.427 Maven3 can no longer provide this information, so plugins cannot rely on this value being present. For the time being we are setting a dummy value to avoid NPE. Use MojoInfo.configuration to access configuration values, but otherwise the ability to inject values is lost and there's no viable alternative. 
hudson.matrix.Axis.name
          as of 1.373 Use Axis.getName() 
hudson.model.UpdateCenter.neverUpdate
          as of 1.333 Use UpdateSite.neverUpdate 
jenkins.model.Jenkins.overallNodeProvisioner
          as of 1.467 Use Jenkins.unlabeledNodeProvisioner. This was broken because it was tracking all the executors in the system, but it was only tracking free-roaming jobs in the queue. So Cloud fails to launch nodes when you have some exclusive slaves and free-roaming jobs in the queue. 
hudson.model.Jobs.PROPERTIES
          as of 1.281 Use JobPropertyDescriptor.all() for read access, and Extension for registration. 
hudson.tasks.BuildStep.PUBLISHERS
          as of 1.286. Use Publisher.all() for read access, and use Extension for registration. 
hudson.security.HudsonFilter.REMEMBER_ME_SERVICES_PROXY
          in 1.271. This proxy always delegate to Hudson.getInstance().getSecurityRealm().getSecurityComponents().rememberMe, so use that instead. 
hudson.scm.SCMS.SCMS
          as of 1.286 Use SCM.all() for read access and Extension for registration. 
hudson.model.OverallLoadStatistics.totalQueueLength
          as of 1.467 Use LoadStatistics.queueLength. Left as an alias here for backward compatibility. 
hudson.triggers.Triggers.TRIGGERS
          as of 1.286 Use Trigger.all() for read access, and Extension for registration. 
org.jvnet.hudson.test.JenkinsRule.useLocalPluginManager
          Use JenkinsRule.pluginManager 
org.jvnet.hudson.test.HudsonTestCase.useLocalPluginManager
          Use HudsonTestCase.pluginManager 
hudson.security.HudsonFilter.USER_DETAILS_SERVICE_PROXY
          in 1.271. This proxy always delegate to Hudson.getInstance().getSecurityRealm().getSecurityComponents().userDetails, so use that instead. 
hudson.matrix.Axis.values
          as of 1.373 Use Axis.getValues() 
hudson.tasks.BuildWrappers.WRAPPERS
          as of 1.281. Use Extension for registration, and use BuildWrapper.all() for listing them. 
 

Deprecated Methods
hudson.model.Queue.add(AbstractProject)
          as of 1.311 Use Queue.schedule(AbstractProject) 
hudson.model.Queue.add(AbstractProject, int)
          as of 1.311 Use Queue.schedule(Task, int) 
hudson.util.DescriptorList.add(Descriptor)
          As of 1.286. Put Extension on your descriptor to have it auto-registered, instead of registering a descriptor manually. 
hudson.util.DescriptorList.add(int, Descriptor)
          As of 1.286. Put Extension on your descriptor to have it auto-registered, instead of registering a descriptor manually. 
hudson.model.Queue.add(Queue.Task, int)
          as of 1.311 Use Queue.schedule(Task, int) 
hudson.model.Queue.add(Queue.Task, int, Action...)
          as of 1.311 Use Queue.schedule(Task, int, Action...) 
hudson.ExtensionList.add(T)
          since 2009-02-23. Prefer automatic registration. 
hudson.model.DependencyGraph.addDependency(AbstractProject, AbstractProject)
          since 1.341; use DependencyGraph.addDependency(Dependency) 
hudson.model.DependencyGraph.addDependency(AbstractProject, Collection)
          since 1.341 
hudson.model.DependencyGraph.addDependency(Collection, AbstractProject)
          since 1.341 
hudson.model.Project.addPublisher(Publisher)
          as of 1.290 Use getPublishersList().add(x) 
hudson.model.Hudson.adminCheck()
          since 2007-12-18. Use Node.checkPermission(hudson.security.Permission) 
hudson.model.Hudson.adminCheck(StaplerRequest, StaplerResponse)
          since 2007-12-18. Use Node.checkPermission(hudson.security.Permission) 
hudson.slaves.ComputerLauncher.afterDisconnect(SlaveComputer, StreamTaskListener)
          as of 1.304 Use ComputerLauncher.afterDisconnect(SlaveComputer, TaskListener) 
hudson.util.xstream.MapperDelegate.aliasForAttribute(Class, String)
          since 1.3, use combination of MapperDelegate.serializedMember(Class, String) and MapperDelegate.getConverterFromItemType(String, Class, Class) 
hudson.util.xstream.MapperDelegate.attributeForAlias(Class, String)
          since 1.3, use combination of MapperDelegate.realMember(Class, String) and MapperDelegate.getConverterFromItemType(String, Class, Class) 
hudson.slaves.ComputerLauncher.beforeDisconnect(SlaveComputer, StreamTaskListener)
          as of 1.304 Use ComputerLauncher.beforeDisconnect(SlaveComputer, TaskListener) 
hudson.model.AbstractProject.buildDescribable(StaplerRequest, List>, String)
          As of 1.261. Use AbstractProject.buildDescribable(StaplerRequest, List) instead. 
hudson.model.ParameterValue.buildEnvVars(AbstractBuild, Map)
          as of 1.344 Use ParameterValue.buildEnvVars(AbstractBuild, EnvVars) instead. 
hudson.model.JDK.buildEnvVars(Map)
          as of 1.460. Use JDK.buildEnvVars(EnvVars) 
hudson.model.queue.QueueTaskDispatcher.canTake(Node, Queue.Task)
          since 1.413 Use #canTake(Node, BuildableItem) 
hudson.model.Node.canTake(Queue.Task)
          as of 1.413 Use Node.canTake(Queue.BuildableItem) 
hudson.slaves.NodeProperty.canTake(Queue.Task)
          as of 1.413 Use #canTake(BuildableItem) 
hudson.Util.combine(long, String)
          Use individual localization methods instead. See Messages.Util_year(Object) for an example. Deprecated since 2009-06-24, remove method after 2009-12-24. 
hudson.Plugin.configure(JSONObject)
          as of 1.305 override Plugin.configure(StaplerRequest,JSONObject) instead 
hudson.model.Descriptor.configure(StaplerRequest)
          As of 1.239, use Descriptor.configure(StaplerRequest, JSONObject). 
hudson.ExtensionList.create(Hudson, Class)
          as of 1.416 Use ExtensionList.create(Jenkins, Class) 
hudson.ClassicPluginStrategy.createClassLoader(List, ClassLoader)
           
hudson.util.ProcessTreeKiller.createCookie()
          Use EnvVars.createCookie() 
hudson.DescriptorExtensionList.createDescriptorList(Hudson, Class)
          as of 1.416 Use ExtensionList.create(Jenkins, Class) 
hudson.maven.MavenUtil.createEmbedder(TaskListener, String)
          Use MavenUtil.createEmbedder(TaskListener, File, String, Properties) or other overloaded versions that infers maven home. 
hudson.model.TransientBuildActionFactory.createFor(AbstractBuild)
          as of 1.461 Override and call TransientBuildActionFactory.createFor(Run) instead. 
hudson.scm.RepositoryBrowsers.createInstance(Class, StaplerRequest, String)
          since 2008-06-19. Use RepositoryBrowsers.createInstance(Class, StaplerRequest, JSONObject, String). 
hudson.ProxyConfiguration.createProxy()
          Use ProxyConfiguration.createProxy(String) 
hudson.model.Build.createRunner()
          as of 1.467 Override the Build.run() method by calling Run.execute(RunExecution) with proper execution object. 
org.jvnet.hudson.test.JenkinsRule.createTmpDir()
          Use TemporaryFolder instead. 
hudson.FilePath.createZipArchive(OutputStream)
          as of 1.315. Use FilePath.zip(OutputStream) that has more consistent name. 
hudson.FilePath.createZipArchive(OutputStream, String)
          as of 1.315 Use FilePath.zip(OutputStream,String) that has more consistent name. 
hudson.model.Computer.disconnect()
          as of 1.320. Use Computer.disconnect(OfflineCause) and specify the cause. 
hudson.model.Queue.Item.doCancelQueue()
          Use Queue.doCancelItem(int) instead. 
hudson.model.Hudson.doFieldCheck(StaplerRequest, StaplerResponse)
          as of 1.294 Define your own check method, instead of relying on this generic one. 
hudson.model.Hudson.doFieldCheck(String, String, String, String)
          as of 1.324 Either use client-side validation (e.g. class="required number") or define your own check method, instead of relying on this generic one. 
hudson.model.Hudson.doLogRss(StaplerRequest, StaplerResponse)
          As on 1.267, moved to "/log/rss..." 
hudson.model.Run.doProgressiveLog(StaplerRequest, StaplerResponse)
          as of 1.352 Use getLogText().doProgressiveText(req,rsp) 
hudson.model.Hudson.doQuietDown(StaplerResponse)
          as of 1.317 Use Jenkins.doQuietDown() instead. 
hudson.model.AbstractBuild.doStop(StaplerRequest, StaplerResponse)
          as of 1.489 Use AbstractBuild.doStop() 
hudson.model.Executor.doStop(StaplerRequest, StaplerResponse)
          as of 1.489 Use Executor.doStop(). 
jenkins.model.Jenkins.doViewExistsCheck(String)
          1.512 
hudson.Util.encodeRFC2396(String)
          since 2008-05-13. This method is broken (see ISSUE#1666). It should probably be removed but I'm not sure if it is considered part of the public API that needs to be maintained for backwards compatibility. Use Util.encode(String) instead. 
hudson.tasks.BuildTrigger.execute(AbstractBuild, BuildListener, BuildTrigger)
          since 1.341; use BuildTrigger.execute(AbstractBuild,BuildListener) 
hudson.ExtensionFinder.findExtensions(Class, Hudson)
          as of 1.356 Use and implement ExtensionFinder.find(Class,Hudson) that allows us to put some metadata. 
hudson.model.TaskThread.ListenerAndText.forFile(File)
          as of Hudson 1.350 Use #forFile(File, TaskThread) and pass in the calling TaskAction 
hudson.model.TaskThread.ListenerAndText.forMemory()
          as of Hudson 1.350 Use #forMemory(TaskThread) and pass in the calling TaskAction 
hudson.slaves.Channels.forProcess(String, ExecutorService, InputStream, OutputStream, Proc)
          since 2009-04-13. Use Channels.forProcess(String, ExecutorService, InputStream, OutputStream, OutputStream, Proc) 
hudson.model.Items.fromNameList(String, Class)
          as of 1.406 Use Items.fromNameList(ItemGroup, String, Class) 
hudson.util.ChartUtil.generateClickableMap(StaplerRequest, StaplerResponse, JFreeChart, Area)
          as of 1.320 Bind Graph to the URL space. See History as an example (note that doing so involves a bit of URL structure change.) 
hudson.util.ChartUtil.generateClickableMap(StaplerRequest, StaplerResponse, JFreeChart, int, int)
          as of 1.320 Bind Graph to the URL space. See History as an example (note that doing so involves a bit of URL structure change.) 
hudson.util.ChartUtil.generateGraph(StaplerRequest, StaplerResponse, JFreeChart, Area)
          as of 1.320 Bind Graph to the URL space. See History as an example (note that doing so involves a bit of URL structure change.) 
hudson.util.ChartUtil.generateGraph(StaplerRequest, StaplerResponse, JFreeChart, int, int)
          as of 1.320 Bind Graph to the URL space. See History as an example (note that doing so involves a bit of URL structure change.) 
hudson.model.ComputerSet.get_monitors()
          as of 1.301 Use ComputerSet.getMonitors(). 
hudson.util.RunList.get(int)
          as of 1.485 RunList, despite its name, should be really used as Iterable, not as List. 
hudson.StructuredForm.get(StaplerRequest)
          Use StaplerRequest.getSubmittedForm(). Since 1.238. 
hudson.model.User.get(String, boolean)
          use User.get(String, boolean, java.util.Map) 
hudson.model.Item.getAbsoluteUrl()
          This method shall NEVER be used during HTML page rendering, as it won't work with network set up like Apache reverse proxy. This method is only intended for the remote API clients who cannot resolve relative references (even this won't work for the same reason, which should be fixed.) 
hudson.model.Run.getAbsoluteUrl()
          This method shall NEVER be used during HTML page rendering, as it's too easy for misconfiguration to break this value, with network set up like Apache reverse proxy. This method is only intended for the remote API clients who cannot resolve relative references. 
hudson.maven.reporters.MavenArtifactRecord.getAbsoluteUrl()
          This method shall NEVER be used during HTML page rendering, as it's too easy for misconfiguration to break this value, with network set up like Apache reverse proxy. This method is only intended for the remote API clients who cannot resolve relative references. 
hudson.security.AuthorizationStrategy.getACL(AbstractProject)
          since 1.277 Override AuthorizationStrategy.getACL(Job) instead. 
hudson.maven.MavenModuleSet.getAlternateSettings()
          as of 1.481 
hudson.triggers.Triggers.getApplicableTriggers(Item)
          as of 1.286 Use Trigger.for_(Item). 
hudson.model.Job.getBuild(String)
          since 2008-06-15. This is only used to support backward compatibility with old URLs. 
hudson.model.Job.getBuildsByTimestamp(long, long)
          as of 1.372. Should just do getBuilds().byTimestamp(s,e) to avoid code bloat in Job. 
hudson.maven.MavenModuleSet.getBuildWrappers()
          as of 1.335 Use MavenModuleSet.getBuildWrappersList() to be consistent with other subtypes of AbstractProject. 
hudson.tasks.BuildTrigger.getChildProjects()
          as of 1.406 Use BuildTrigger.getChildProjects(ItemGroup) 
jenkins.model.Jenkins.getComputer()
          UI method. Not meant to be used programatically. 
hudson.Launcher.getComputer()
          since 2008-11-16. See the javadoc for why this is inherently unreliable. If you are trying to figure out the current Computer from within a build, use Computer.currentComputer() 
hudson.model.Hudson.getComputerListeners()
          as of 1.286. Use ComputerListener.all(). 
hudson.model.UpdateCenter.UpdateCenterConfiguration.getConnectionCheckUrl()
          as of 1.333 With the introduction of multiple update center capability, this information is now a part of the update-center.json file. See http://jenkins-ci.org/update-center.json as an example. 
hudson.util.xstream.MapperDelegate.getConverterFromAttribute(Class, String)
          since 1.3.1, use MapperDelegate.getConverterFromAttribute(Class, String, Class) 
hudson.util.xstream.MapperDelegate.getConverterFromAttribute(String)
          since 1.3, use MapperDelegate.getConverterFromAttribute(Class, String, Class) 
hudson.util.xstream.MapperDelegate.getConverterFromItemType(Class)
          since 1.3, use MapperDelegate.getConverterFromItemType(String, Class, Class) 
hudson.util.xstream.MapperDelegate.getConverterFromItemType(String, Class)
          since 1.3, use MapperDelegate.getConverterFromItemType(String, Class, Class) 
hudson.model.UpdateCenter.getDefaultBaseUrl()
          TODO: revisit tool update mechanism, as that should be de-centralized, too. In the mean time, please try not to use this method, and instead ping us to get this part completed. 
hudson.model.ListView.getDefaultColumns()
          as of 1.391 Use ListViewColumn.createDefaultInitialColumnList() 
hudson.model.ParameterValue.getDefinition()
          since 2008-09-20. parameter definition may change any time. So if you find yourself in need of accessing the information from ParameterDefinition, instead copy them in ParameterDefinition.createValue(StaplerRequest, JSONObject) into ParameterValue. 
hudson.model.AbstractProject.getDelay(StaplerRequest)
          as of 1.488 Inject TimeDuration. 
hudson.tasks.test.AggregatedTestResultAction.getDescription(TestObject)
          so that IDE warns you if you accidentally try to call it. 
hudson.tasks.test.AggregatedTestResultPublisher.TestResultAction.getDescription(TestObject)
          so that IDE warns you if you accidentally try to call it. 
hudson.model.UpdateSite.getDownloadUrl()
          Exposed only for UI. 
hudson.model.Run.getEnvironment()
          as of 1.305 use Run.getEnvironment(TaskListener) 
hudson.model.Computer.getEnvVars()
          as of 1.292 Use Computer.getEnvironment() instead. 
hudson.model.Run.getEnvVars()
          as of 1.292 Use Run.getEnvironment() instead. 
hudson.model.Executor.getEstimatedDurationFor(Queue.Executable)
          as of 1.388 Use Executables#getEstimatedDurationFor(Executable) 
hudson.model.JDK.getJavaHome()
          as of 1.304 Use ToolInstallation.getHome() 
hudson.matrix.MatrixProject.getJDK()
           
hudson.slaves.SlaveComputer.getJnlpJars(String)
          since 2008-08-18. This URL binding is no longer used and moved up directly under to Jenkins, but it's left here for now just in case some old JNLP slave agents request it. 
hudson.model.Hudson.getJob(String)
          Left only for the compatibility of URLs. Should not be invoked for any other purpose. 
hudson.model.JobProperty.getJobAction(J)
          as of 1.341. Override JobProperty.getJobActions(Job) instead. 
hudson.model.Hudson.getJobCaseInsensitive(String)
          Used only for mapping jobs to URL in a case-insensitive fashion. 
hudson.model.Hudson.getJobListeners()
          as of 1.286. Use ItemListener.all(). 
hudson.model.TaskAction.getLog()
          as of 1.350 Use TaskAction.obtainLog(), which returns the same object in a more type-safe signature. 
hudson.model.Run.getLog()
          since 2007-11-11. Use Run.getLog(int) instead as it avoids loading the whole log into memory unnecessarily. 
hudson.model.Job.getLogRotator()
          as of 1.503 Use Job.getBuildDiscarder(). 
hudson.tasks.Maven.MavenInstallation.getMavenHome()
          as of 1.308. Use ToolInstallation.getHome(). 
hudson.model.AbstractProject.getModuleRoot()
          as of 1.319 See AbstractProject.getWorkspace() for a migration strategy. 
hudson.scm.SCM.getModuleRoot(FilePath)
          since 1.382 Use/override SCM.getModuleRoot(FilePath, AbstractBuild) instead. 
hudson.model.AbstractProject.getModuleRoots()
          as of 1.319 See AbstractProject.getWorkspace() for a migration strategy. 
hudson.scm.SCM.getModuleRoots(FilePath)
          as of 1.382. Use/derive from SCM.getModuleRoots(FilePath, AbstractBuild) instead. 
hudson.model.AbstractCIBase.getNodeName()
            
org.jvnet.hudson.test.JenkinsRule.WebClient.getPage(String)
          This method expects a full URL. This method is marked as deprecated to warn you that you probably should be using JenkinsRule.WebClient.goTo(String) method, which accepts a relative path within the Hudson being tested. (IOW, if you really need to hit a website on the internet, there's nothing wrong with using this method.) 
org.jvnet.hudson.test.HudsonTestCase.WebClient.getPage(String)
          This method expects a full URL. This method is marked as deprecated to warn you that you probably should be using HudsonTestCase.WebClient.goTo(String) method, which accepts a relative path within the Hudson being tested. (IOW, if you really need to hit a website on the internet, there's nothing wrong with using this method.) 
hudson.model.UpdateCenter.UpdateCenterConfiguration.getPluginRepositoryBaseUrl()
          as of 1.333 update-center.json is now signed, so we don't have to further make sure that we aren't downloading from anywhere unsecure. 
hudson.triggers.Trigger.getProjectAction()
          as of 1.341 Use Trigger.getProjectActions() instead. 
hudson.tasks.BuildWrapper.getProjectAction(AbstractProject)
          Use BuildWrapper.getProjectActions(AbstractProject) instead. 
hudson.tasks.BuildStep.getProjectAction(AbstractProject)
          as of 1.341. Use BuildStep.getProjectActions(AbstractProject) instead. 
hudson.maven.MavenReporter.getProjectAction(MavenModule)
          as of 1.341 Use MavenReporter.getProjectActions(MavenModule) instead. 
hudson.tasks.Publisher.getProjectAction(Project)
          since 1.150 
hudson.tasks.BuildStepCompatibilityLayer.getProjectAction(Project)
          Use BuildStepCompatibilityLayer.getProjectAction(AbstractProject) instead. 
jenkins.model.Jenkins.getProjects()
          This method will ignore Maven and matrix projects, as well as projects inside containers such as folders. You may prefer to call Jenkins.getAllItems(Class) on AbstractProject, perhaps also using Util.createSubList(java.util.Collection, java.lang.Class) to consider only TopLevelItems. (That will also consider the caller's permissions.) If you really want to get just Projects at top level, ignoring permissions, you can filter the values from Jenkins.getItemMap() using Util.createSubList(java.util.Collection, java.lang.Class). 
hudson.model.Project.getPublishers()
          as of 1.463 We will be soon removing the restriction that only one instance of publisher is allowed per type. Use Project.getPublishersList() instead. 
hudson.maven.MavenModuleSet.getRootPOM()
          for backward comp only 
jenkins.model.Jenkins.getSecretKey()
          Due to the past security advisory, this value should not be used any more to protect sensitive information. See ConfidentialStore and ConfidentialKey for how to store secrets. 
jenkins.model.Jenkins.getSecretKeyAsAES128()
          See Jenkins.getSecretKey(). 
hudson.tasks.Shell.DescriptorImpl.getShellOrDefault()
          1.403 Use Shell.DescriptorImpl.getShellOrDefault(hudson.remoting.VirtualChannel). 
hudson.model.CauseAction.getShortDescription()
          as of 1.288 but left here for backward compatibility. 
hudson.model.Hudson.getSlave(String)
          Use Jenkins.getNode(String). Since 1.252. 
hudson.model.Hudson.getSlaves()
          Use Jenkins.getNodes(). Since 1.252. 
hudson.Functions.getSortedDescriptorsForGlobalConfigNoSecurity()
          This is rather meaningless. 
hudson.matrix.MatrixProject.getSorter()
          as of 1.456 Use DefaultMatrixExecutionStrategyImpl.getSorter(). This method tries to emulate the previous behavior the best it can, but will return null if the current MatrixExecutionStrategy is not the default one. 
hudson.matrix.MatrixProject.DescriptorImpl.getSorterDescriptors()
          as of 1.456 This was only exposed for Jelly. 
hudson.tasks.test.TestObject.getTestResult()
          This method returns a JUnit specific class. Use TestObject.getTopLevelTestResult() instead for a more general interface. 
hudson.tools.ToolLocationNodeProperty.getToolHome(Node, ToolInstallation, TaskListener)
          since 2009-04-09. Use ToolInstallation.translateFor(Node,TaskListener) 
hudson.matrix.MatrixProject.getTouchStoneCombinationFilter()
          as of 1.456 Use DefaultMatrixExecutionStrategyImpl.getTouchStoneCombinationFilter(). This method tries to emulate the previous behavior the best it can, but will return null if the current MatrixExecutionStrategy is not the default one. 
hudson.matrix.MatrixProject.getTouchStoneResultCondition()
          as of 1.456 Use DefaultMatrixExecutionStrategyImpl.getTouchStoneResultCondition(). This method tries to emulate the previous behavior the best it can, but will return null if the current MatrixExecutionStrategy is not the default one. 
hudson.model.UpdateCenter.UpdateCenterConfiguration.getUpdateCenterUrl()
          as of 1.333 With the introduction of multiple update center capability, this information is now moved to UpdateSite. 
hudson.model.AbstractCIBase.getUrl()
          Why are you calling a method that always returns ""? 
hudson.Functions.getUserAvatar(User, String)
          as of 1.451 Use Functions.getAvatar(hudson.model.User, java.lang.String) 
hudson.matrix.MatrixProject.getUserAxes()
          as of 1.373 System vs user difference are generalized into extension point. 
hudson.model.Queue.Task.getWhyBlocked()
          as of 1.330 Use CauseOfBlockage.getShortDescription() instead. 
hudson.model.AbstractProject.getWorkspace()
          as of 1.319 To support concurrent builds of the same project, this method is moved to AbstractBuild. For backward compatibility, this method returns the right AbstractBuild.getWorkspace() if called from Executor, and otherwise the workspace of the last build.

If you are calling this method during a build from an executor, switch it to AbstractBuild.getWorkspace(). If you are calling this method to serve a file from the workspace, doing a form validation, etc., then use AbstractProject.getSomeWorkspace() 

hudson.model.AbstractProject.getWorkspaceResource()
          as of 1.319 Projects no longer have a fixed workspace, ands builds will find an available workspace via WorkspaceList for each build (furthermore, that happens after a build is started.) So a Resource representation for a workspace at the project level no longer makes sense.

If you need to lock a workspace while you do some computation, see the source code of AbstractProject.pollSCMChanges(TaskListener) for how to obtain a lock of a workspace through WorkspaceList. 

hudson.maven.MavenModule.getWorkspaceResource()
          as of 1.319 in AbstractProject. 
jenkins.model.Jenkins.hasPeople()
          Potentially very expensive call; do not use from Jelly views. 
hudson.model.View.hasPeople()
          Potentially very expensive call; do not use from Jelly views. 
hudson.tasks.BuildTrigger.hasSame(Collection)
          as of 1.406 Use BuildTrigger.hasSame(AbstractProject, Collection) 
hudson.Functions.ifThenElse(boolean, Object, Object)
          as of 1.294 JEXL now supports the real ternary operator "x?y:z", so this work around is no longer necessary. 
hudson.maven.MojoInfo.inject(String, T)
          as of 1.427 See the discussion in MojoInfo.mojo 
hudson.model.UpdateSite.Plugin.install()
          as of 1.326 Use UpdateSite.Plugin.deploy(). 
hudson.maven.MojoInfo.intercept(String, InvocationInterceptor)
          as of 1.427 See the discussion in MojoInfo.mojo 
hudson.model.Hudson.isAdmin()
          since 2007-12-18. This method is deprecated when Hudson moved from simple Unix root-like model of "admin gets to do everything, and others don't have any privilege" to more complex ACL and Permission based scheme.

For a quick migration, use Hudson.getInstance().getACL().hasPermission(Hudson.ADMINISTER) To check if the user has the 'administer' role in Hudson.

But ideally, your plugin should first identify a suitable Permission (or create one, if appropriate), then identify a suitable AccessControlled object to check its permission against. 

hudson.model.Hudson.isAdmin(StaplerRequest)
          since 2007-12-18. Define a custom Permission and check against ACL. See Hudson.isAdmin() for more instructions. 
hudson.model.View.People.isApplicable(Collection)
          Potentially very expensive call; do not use from Jelly views. 
hudson.model.Hudson.isDarwin()
          Use Platform.isDarwin() 
hudson.model.Computer.isJnlpAgent()
          since 2008-05-18. See Computer.isLaunchSupported() and ComputerLauncher 
hudson.slaves.SlaveComputer.isJnlpAgent()
          since 2008-05-20. 
hudson.os.PosixAPI.isNative()
          as of 1.448 Use PosixAPI.supportsNative(). 
hudson.matrix.MatrixProject.isRunSequentially()
          as of 1.456 Use DefaultMatrixExecutionStrategyImpl.isRunSequentially(). This method tries to emulate the previous behavior the best it can, but will return false if the current MatrixExecutionStrategy is not the default one. 
hudson.matrix.Axis.isSystem()
          as of 1.373 System vs user difference are generalized into extension point. 
hudson.model.Computer.isTemporarilyOffline()
          You should almost always want Computer.isOffline(). This method is marked as deprecated to warn people when they accidentally call this method. 
hudson.model.Hudson.isWindows()
          Use Functions.isWindows(). 
hudson.util.ProcessTreeKiller.kill(Map)
          Use ProcessTree.killAll(Map) 
hudson.util.ProcessTreeKiller.kill(Process)
          Use ProcessTree.OSProcess.killRecursively() 
hudson.util.ProcessTreeKiller.kill(Process, Map)
          Use ProcessTree.killAll(Map) and ProcessTree.OSProcess.killRecursively() 
hudson.model.Computer.launch()
          since 2009-01-06. Use Computer.connect(boolean) 
hudson.slaves.ComputerLauncher.launch(SlaveComputer, StreamTaskListener)
          as of 1.304 Use ComputerLauncher.launch(SlaveComputer, TaskListener) 
hudson.Launcher.launch(String[], boolean[], Map, InputStream, OutputStream)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String[], boolean[], Map, OutputStream, FilePath)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String[], boolean[], String[], InputStream, OutputStream)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String[], boolean[], String[], InputStream, OutputStream, FilePath)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String[], boolean[], String[], OutputStream, FilePath)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String[], Map, InputStream, OutputStream)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String[], Map, OutputStream, FilePath)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String[], String[], InputStream, OutputStream)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String[], String[], InputStream, OutputStream, FilePath)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String[], String[], OutputStream, FilePath)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String, Map, OutputStream, FilePath)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.Launcher.launch(String, String[], OutputStream, FilePath)
          as of 1.311 Use Launcher.launch() and its associated builder pattern 
hudson.model.RunMap.load(Job, RunMap.Constructor)
          as of 1.485 Use RunMap.RunMap(File, Constructor) 
hudson.node_monitors.AbstractNodeMonitorDescriptor.markOffline(Computer)
          as of 1.320 Use AbstractNodeMonitorDescriptor.markOffline(Computer, OfflineCause) to specify the cause. 
hudson.model.TopLevelItemDescriptor.newInstance(StaplerRequest)
          since 2007-01-19. This is not a valid operation for Jobs. 
hudson.model.Descriptor.newInstance(StaplerRequest)
          Implement Descriptor.newInstance(StaplerRequest, JSONObject) method instead. Deprecated as of 1.145. 
hudson.maven.MavenReporterDescriptor.newInstance(StaplerRequest)
           
hudson.model.TopLevelItemDescriptor.newInstance(String)
          as of 1.390 Use TopLevelItemDescriptor.newInstance(ItemGroup, String) 
hudson.slaves.ComputerListener.onOnline(Computer)
          as of 1.292 Use ComputerListener.onOnline(Computer, TaskListener) 
hudson.tasks.junit.JUnitResultArchiver.parseResult(DirectoryScanner, long)
          since 2009-08-10. 
hudson.scm.SCMS.parseSCM(StaplerRequest)
          as of 1.294 Use SCMS.parseSCM(StaplerRequest, AbstractProject) and pass in the caller's project type. 
hudson.tasks.BuildStepCompatibilityLayer.perform(Build, Launcher, BuildListener)
          Use BuildStepCompatibilityLayer.perform(AbstractBuild, Launcher, BuildListener) instead. 
hudson.model.AbstractBuild.AbstractBuildExecution.performAllBuildStep(BuildListener, Iterable, boolean)
          as of 1.356 Use AbstractBuild.AbstractBuildExecution.performAllBuildSteps(BuildListener, Iterable, boolean) 
hudson.model.AbstractBuild.AbstractBuildExecution.performAllBuildStep(BuildListener, Map, boolean)
          as of 1.356 Use AbstractBuild.AbstractBuildExecution.performAllBuildSteps(BuildListener, Map, boolean) 
hudson.scm.SCM.pollChanges(AbstractProject, Launcher, FilePath, TaskListener)
          as of 1.345 Override SCM.calcRevisionsFromBuild(AbstractBuild, Launcher, TaskListener) and SCM.compareRemoteRevisionWith(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState) for implementation. The implementation is now separated in two pieces, one that computes the revision of the current workspace, and the other that computes the revision of the remote repository. Call SCM.poll(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState) for use instead. 
hudson.model.AbstractProject.pollSCMChanges(TaskListener)
          as of 1.346 Use AbstractProject.poll(TaskListener) instead. 
hudson.model.SCMedItem.pollSCMChanges(TaskListener)
          as of 1.346 Use SCMedItem.poll(TaskListener) instead. 
hudson.tasks.BuildStepCompatibilityLayer.prebuild(Build, BuildListener)
          Use BuildStepCompatibilityLayer.prebuild(AbstractBuild, BuildListener) instead. 
hudson.tasks.Publisher.prebuild(Build, BuildListener)
          since 1.150 
hudson.model.queue.LoadPredictor.predict(Computer, long, long)
          as of 1.380 Use LoadPredictor.predict(MappingWorksheet, Computer, long, long) 
hudson.util.DescribableList.rebuild(StaplerRequest, JSONObject, List>, String)
          as of 1.271 Use DescribableList.rebuild(StaplerRequest, JSONObject, List) instead. 
hudson.model.listeners.SaveableListener.register()
          as of 1.281 Put Extension on your class to get it auto-registered. 
hudson.model.listeners.ItemListener.register()
          as of 1.286 put Extension on your class to have it auto-registered. 
hudson.model.listeners.RunListener.register()
          as of 1.281 Put Extension on your class to get it auto-registered. 
hudson.scm.ChangeLogAnnotator.register()
          as of 1.286 Prefer automatic registration via Extension 
hudson.slaves.ComputerListener.register()
          as of 1.286 put Extension on your class to have it auto-registered. 
hudson.model.Project.removePublisher(Descriptor)
          as of 1.290 Use getPublishersList().remove(x) 
hudson.model.AbstractModelObject.requirePOST()
          Use RequirePOST on your method. 
hudson.maven.MavenUtil.resolveModules(MavenEmbedder, MavenProject, String, Map, BuildListener, boolean)
          MavenEmbedder has now a method to read all projects Recursively resolves module POMs that are referenced from the given MavenProject and parses them into MavenProjects. 
hudson.Util.resolveSymlink(File, TaskListener)
          as of 1.456 Use Util.resolveSymlink(File) 
hudson.matrix.MatrixExecutionStrategy.run(MatrixBuild, List, BuildListener)
          Override #run(MatrixBuildExecution) 
hudson.model.Run.run(Run.Runner)
          as of 1.467 Use Run.execute(RunExecution) 
hudson.model.UpdateCenter.UpdateCenterJob.schedule()
          as of 1.326 Use UpdateCenter.UpdateCenterJob.submit() instead. 
hudson.model.BuildableItem.scheduleBuild()
          Use BuildableItem.scheduleBuild(Cause). Since 1.283 
hudson.model.AbstractProject.scheduleBuild()
          Use AbstractProject.scheduleBuild(Cause). Since 1.283 
hudson.model.BuildableItem.scheduleBuild(int)
          Use BuildableItem.scheduleBuild(int, Cause). Since 1.283 
hudson.model.AbstractProject.scheduleBuild(int)
          Use AbstractProject.scheduleBuild(int, Cause). Since 1.283 
hudson.matrix.MatrixConfiguration.scheduleBuild(ParametersAction)
          Use MatrixConfiguration.scheduleBuild(ParametersAction, Cause). Since 1.283 
hudson.matrix.MatrixConfiguration.scheduleBuild(ParametersAction, Cause)
          Use MatrixConfiguration.scheduleBuild(List, Cause). Since 1.480 
hudson.model.DirectoryBrowserSupport.serveFile(StaplerRequest, StaplerResponse, FilePath, String, boolean)
          as of 1.297 Instead of calling this method explicitly, just return the DirectoryBrowserSupport object from the doXYZ method and let Stapler generate a response for you. 
hudson.maven.MavenModuleSet.setAlternateSettings(String)
          as of 1.481 
hudson.matrix.MatrixConfiguration.setBuildDiscarder(BuildDiscarder)
          Value is controlled by MatrixProject. 
hudson.tasks.test.AggregatedTestResultAction.setDescription(TestObject, String)
          so that IDE warns you if you accidentally try to call it. 
hudson.tasks.test.AggregatedTestResultPublisher.TestResultAction.setDescription(TestObject, String)
          so that IDE warns you if you accidentally try to call it. 
hudson.matrix.MatrixConfiguration.setJDK(JDK)
          Not supported. 
hudson.model.Job.setLogRotator(LogRotator)
          as of 1.503 Use Job.setBuildDiscarder(BuildDiscarder) 
hudson.maven.MavenModule.setLogRotator(LogRotator)
          Not allowed to configure log rotation per module. 
hudson.model.Node.setNodeName(String)
          to indicate that this method isn't really meant to be called by random code. 
hudson.util.DescribableList.setOwner(DescribableList.Owner)
          since 2008-08-15. Use PersistedList.setOwner(Saveable) 
hudson.matrix.MatrixProject.setRunSequentially(boolean)
          as of 1.456 Use DefaultMatrixExecutionStrategyImpl.setRunSequentially(boolean). This method tries to emulate the previous behavior the best it can, but will fall back to no-op if the current MatrixExecutionStrategy is not the default one. 
hudson.model.Hudson.setSlaves(List)
          Use Jenkins.setNodes(List). Since 1.252. 
hudson.matrix.MatrixProject.setSorter(MatrixConfigurationSorter)
          as of 1.456 Use DefaultMatrixExecutionStrategyImpl.setSorter(MatrixConfigurationSorter). This method tries to emulate the previous behavior the best it can, but will fall back to no-op if the current MatrixExecutionStrategy is not the default one. 
hudson.model.Computer.setTemporarilyOffline(boolean)
          as of 1.320. Use Computer.setTemporarilyOffline(boolean, OfflineCause) 
hudson.matrix.MatrixProject.setTouchStoneCombinationFilter(String)
          as of 1.456 Use DefaultMatrixExecutionStrategyImpl.setTouchStoneCombinationFilter(String). This method tries to emulate the previous behavior the best it can, but will fall back to no-op if the current MatrixExecutionStrategy is not the default one. 
hudson.matrix.MatrixProject.setTouchStoneResultCondition(Result)
          as of 1.456 Use DefaultMatrixExecutionStrategyImpl.setTouchStoneResultCondition(Result). This method tries to emulate the previous behavior the best it can, but will fall back to no-op if the current MatrixExecutionStrategy is not the default one. 
hudson.tasks.BuildWrapper.setUp(Build, Launcher, BuildListener)
          since 2007-10-28. Use BuildWrapper.setUp(AbstractBuild, Launcher, BuildListener) instead. 
hudson.maven.MavenModuleSet.setUsePrivateRepository(boolean)
          as of 1.448. Use MavenModuleSet.setLocalRepository(LocalRepositoryLocator) instead 
hudson.views.ListViewColumn.shownByDefault()
          as of 1.342. Use ListViewColumnDescriptor.shownByDefault() 
hudson.util.RunList.size()
          as of 1.485 RunList, despite its name, should be really used as Iterable, not as List. 
hudson.os.solaris.ZFSProvisioner.snapshot(AbstractBuild, FilePath, TaskListener)
          as of 1.350 
hudson.FileSystemProvisioner.Default.snapshot(AbstractBuild, FilePath, TaskListener)
          as of 1.350 
hudson.tasks.BuildWrapper.Environment.tearDown(Build, BuildListener)
          since 2007-10-28. Use BuildWrapper.Environment.tearDown(AbstractBuild, BuildListener) instead. 
hudson.MarkupText.toString()
          as of 1.350. Use MarkupText.toString(boolean) to be explicit about the escape mode. 
hudson.FilePath.toString()
           
hudson.util.Secret.toString()
          as of 1.356 Use Secret.toString(Secret) to avoid NPE in case Secret is null. Or if you really know what you are doing, use the Secret.getPlainText() method. 
hudson.util.XStream2.toXML(Object, OutputStream)
          Uses default encoding yet fails to write an encoding header. Prefer XStream2.toXMLUTF8(java.lang.Object, java.io.OutputStream). 
hudson.model.AbstractItem.updateByXml(StreamSource)
          as of 1.473 Use AbstractItem.updateByXml(Source) 
hudson.maven.MavenModuleSet.usesPrivateRepository()
          as of 1.448 Use MavenModuleSet.getLocalRepository() 
hudson.util.ListBoxModel.values()
          Exposed for stapler. Not meant for programatic consumption. 
 

Deprecated Constructors
hudson.model.Cause.UpstreamCause(AbstractBuild)
          since 2009-02-28 
hudson.cli.CLI(URL, ExecutorService)
          Use CLIConnectionFactory to create CLI 
hudson.cli.CLI(URL, ExecutorService, String)
          Use CLIConnectionFactory to create CLI 
hudson.scheduler.CronTab(String, int)
          as of 1.448 Use CronTab.CronTab(String, int, Hash) 
hudson.util.DescribableList(DescribableList.Owner)
          since 2008-08-15. Use DescribableList.DescribableList(Saveable) 
hudson.DescriptorExtensionList(Hudson, Class)
          as of 1.416 Use DescriptorExtensionList.DescriptorExtensionList(Jenkins, Class) 
hudson.util.DescriptorList(Descriptor...)
          As of 1.286. Use DescriptorList.DescriptorList(Class) instead. 
hudson.model.DirectoryBrowserSupport(ModelObject, String)
          as of 1.297 Use DirectoryBrowserSupport.DirectoryBrowserSupport(ModelObject, FilePath, String, String, boolean) 
hudson.slaves.DumbSlave(String, String, String, String, Node.Mode, String, ComputerLauncher, RetentionStrategy)
          as of 1.286. Use #DumbSlave(String, String, String, String, Mode, String, ComputerLauncher, RetentionStrategy, List) 
hudson.ExtensionList(Hudson, Class)
          as of 1.416 Use ExtensionList.ExtensionList(Jenkins, Class) 
hudson.ExtensionList(Hudson, Class, CopyOnWriteArrayList>)
          as of 1.416 Use ExtensionList.ExtensionList(Jenkins, Class, CopyOnWriteArrayList) 
hudson.util.FormFieldValidator(StaplerRequest, StaplerResponse, AccessControlled, Permission)
          Use FormFieldValidator.FormFieldValidator(AccessControlled,Permission) and remove StaplerRequest and StaplerResponse from your "doCheck..." method parameter 
hudson.util.FormFieldValidator(StaplerRequest, StaplerResponse, Permission)
          Use FormFieldValidator.FormFieldValidator(Permission) and remove StaplerRequest and StaplerResponse from your "doCheck..." method parameter 
hudson.model.FreeStyleProject(Jenkins, String)
          as of 1.390 
hudson.cli.FullDuplexHttpStream(URL)
           
hudson.model.HealthReport(int, String)
          since 2008-10-18. Use HealthReport.HealthReport(int, org.jvnet.localizer.Localizable) 
hudson.model.HealthReport(int, String, String)
          since 2008-10-18. Use HealthReport.HealthReport(int, String, org.jvnet.localizer.Localizable) 
hudson.security.HudsonPrivateSecurityRealm(boolean)
           
hudson.tasks.junit.JUnitParser()
           
hudson.tasks.junit.JUnitResultArchiver(String)
          since 2009-08-09. 
hudson.tasks.junit.JUnitResultArchiver(String, DescribableList>)
           
hudson.tasks.LogRotator(int, int)
          since 1.350. Use LogRotator.LogRotator(int, int, int, int) 
hudson.tasks.Maven.MavenInstallation(String, String)
          as of 1.308. Use #MavenInstallation(String, String, List) 
hudson.maven.reporters.MavenArtifactRecord(MavenBuild, MavenArtifact, MavenArtifact, List)
           
hudson.maven.MavenModuleSet(String)
          Use MavenModuleSet.MavenModuleSet(ItemGroup, String) 
hudson.model.MultiStageTimeSeries(float, float)
          since 2009-04-05. Use MultiStageTimeSeries.MultiStageTimeSeries(Localizable, Color, float, float) 
hudson.model.PageDecorator(Class)
          as of 1.425 Use the default constructor that's less error prone 
hudson.security.Permission(PermissionGroup, String, Localizable, Permission)
          as of 1.421 Use Permission.Permission(PermissionGroup, String, Localizable, Permission, PermissionScope) 
hudson.security.Permission(PermissionGroup, String, Localizable, Permission, boolean)
          as of 1.421 Use Permission.Permission(PermissionGroup, String, Localizable, Permission, boolean, PermissionScope[]) 
hudson.security.Permission(PermissionGroup, String, Permission)
          since 1.257. Use Permission.Permission(PermissionGroup, String, Localizable, Permission) 
hudson.tasks.Publisher()
          Don't extend from Publisher directly. Instead, choose Recorder or Notifier as your base class. 
hudson.maven.RedeployPublisher.DescriptorImpl(Class)
          as of 1.290 Use the default constructor. 
hudson.maven.RedeployPublisher(String, String, boolean)
           
hudson.maven.RedeployPublisher(String, String, boolean, boolean)
           
hudson.model.RunMap()
          as of 1.485 Use RunMap.RunMap(File, Constructor). 
hudson.triggers.SCMTrigger.SCMTriggerCause()
          Use #SCMTriggerCause(String). 
hudson.model.Slave(String, String, String, int, Node.Mode, String, ComputerLauncher, RetentionStrategy)
          since 2009-02-20. 
hudson.model.StreamBuildListener(PrintStream)
          as of 1.349 The caller should use StreamBuildListener.StreamBuildListener(OutputStream, Charset) to pass in the charset and output stream separately, so that this class can handle encoding correctly. 
hudson.util.StreamTaskListener()
          as of 1.349 Use TaskListener.NULL 
hudson.util.StreamTaskListener(PrintStream)
          as of 1.349 The caller should use StreamTaskListener.StreamTaskListener(OutputStream, Charset) to pass in the charset and output stream separately, so that this class can handle encoding correctly, or use StreamTaskListener.fromStdout() or StreamTaskListener.fromStderr(). 
hudson.tasks.junit.TestResult(long, DirectoryScanner)
           
hudson.tools.ToolInstallation(String, String)
          as of 1.302. Use ToolInstallation.ToolInstallation(String, String, List) 
hudson.UDPBroadcastThread(Hudson)
          as of 1.416 Use UDPBroadcastThread.UDPBroadcastThread(Jenkins) 
hudson.model.UpdateCenter.InstallationJob(UpdateSite.Plugin, UpdateSite, Authentication)
          as of 1.442 
hudson.model.ViewJob(Jenkins, String)
          as of 1.390 
 



Copyright © 2004-2013. All Rights Reserved.