public interface DescriptorByNameOwner extends ModelObject
getDescriptorByName(String) to bind Descriptors to URL.
Binding them at some specific object (instead of Jenkins), allows
Descriptors 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
Descriptors by its name to URL. |
getDisplayNameDescriptor getDescriptorByName(String id)
Descriptors by its name to URL.
Implementation should always delegate to Jenkins.getDescriptorByName(String).
id - Either Descriptor.getId() (recommended) or the short name.Copyright © 2019. All rights reserved.