@Extension public class DescribableDomainRequirementProvider extends DomainRequirementProvider
DomainRequirementProvider implements
support for discovering DomainRequirements annotated on
Describable classes by walking the Descriptors
registered with Jenkins.
TODO(mattmoor): should we allow the annotation on the descriptor itself?| Constructor and Description |
|---|
DescribableDomainRequirementProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends com.cloudbees.plugins.credentials.domains.DomainRequirement> |
provide(Class<T> type)
This hook is intended for providers to implement such that they can
surface custom class-discovery logic, on which they will call
of()
to instantiate the elements returned. |
lookupRequirements, ofpublic DescribableDomainRequirementProvider()
protected <T extends com.cloudbees.plugins.credentials.domains.DomainRequirement> List<T> provide(Class<T> type)
of()
to instantiate the elements returned.provide in class DomainRequirementProviderCopyright © 2004-2014. All Rights Reserved.