Package hudson.model
Interface DescriptorByNameOwner
- All Superinterfaces:
ModelObject
- All Known Implementing Classes:
AbstractBuild
,AbstractCIBase
,AbstractCloudComputer
,AbstractItem
,AbstractProject
,AbstractTopLevelItem
,AllView
,Build
,Computer
,FreeStyleBuild
,FreeStyleProject
,Hudson
,Hudson.MasterComputer
,Jenkins
,Jenkins.MasterComputer
,Job
,ListView
,MyView
,Project
,ProxyView
,Run
,SlaveComputer
,User
,View
,ViewJob
Adds
getDescriptorByName(String)
to bind Descriptor
s to URL.
Binding them at some specific object (instead of Jenkins
), allows
Descriptor
s to perform context-specific form field validation.
Descriptor.getCheckUrl(String)
finds an ancestor with this interface
and generates URLs against it.
- Since:
- 1.294
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Method Summary
Methods inherited from interface hudson.model.ModelObject
getDisplayName
-
Method Details
-
getDescriptorByName
Exposes allDescriptor
s by its name to URL.Implementation should always delegate to
Jenkins.getDescriptorByName(String)
.- Parameters:
id
- EitherDescriptor.getId()
(recommended) or the short name.
-