Class DescribableDomainRequirementProvider
java.lang.Object
com.google.jenkins.plugins.credentials.domains.DomainRequirementProvider
com.google.jenkins.plugins.credentials.domains.DescribableDomainRequirementProvider
- All Implemented Interfaces:
ExtensionPoint
This implementation of
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?-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends com.cloudbees.plugins.credentials.domains.DomainRequirement>
List<T>This hook is intended for providers to implement such that they can surface custom class-discovery logic, on which they will callof()
to instantiate the elements returned.Methods inherited from class com.google.jenkins.plugins.credentials.domains.DomainRequirementProvider
lookupRequirements, of
-
Constructor Details
-
DescribableDomainRequirementProvider
public DescribableDomainRequirementProvider()
-
-
Method Details
-
provide
protected <T extends com.cloudbees.plugins.credentials.domains.DomainRequirement> List<T> 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 callof()
to instantiate the elements returned.- Specified by:
provide
in classDomainRequirementProvider
-