public interface DescriptorByNameOwner extends ModelObject
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.
Descriptor.getCheckUrl(String)
Modifier and Type | Method and Description |
---|---|
Descriptor |
getDescriptorByName(String id)
Exposes all
Descriptor s by its name to URL. |
getDisplayName
Descriptor getDescriptorByName(String id)
Descriptor
s by its name to URL.
Implementation should always delegate to Jenkins.getDescriptorByName(String)
.
id
- Either Descriptor.getId()
(recommended) or the short name.Copyright © 2015. All rights reserved.