@Extension public class DescribableDomainRequirementProvider extends DomainRequirementProvider
DomainRequirementProvider
implements
support for discovering DomainRequirement
s annotated on
Describable
classes by walking the Descriptor
s
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, of
public 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 DomainRequirementProvider
Copyright © 2004-2014. All Rights Reserved.