Class DescribableDomainRequirementProvider
- java.lang.Object
-
- com.google.jenkins.plugins.credentials.domains.DomainRequirementProvider
-
- com.google.jenkins.plugins.credentials.domains.DescribableDomainRequirementProvider
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class DescribableDomainRequirementProvider extends DomainRequirementProvider
This implementation ofDomainRequirementProvider
implements support for discoveringDomainRequirement
s annotated onDescribable
classes by walking theDescriptor
s registered withJenkins
. 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
Constructors Constructor Description DescribableDomainRequirementProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class com.google.jenkins.plugins.credentials.domains.DomainRequirementProvider
lookupRequirements, of
-
-
-
-
Method Detail
-
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
-
-