Class SchemeSpecification
java.lang.Object
hudson.model.AbstractDescribableImpl<DomainSpecification>
com.cloudbees.plugins.credentials.domains.DomainSpecification
com.cloudbees.plugins.credentials.domains.SchemeSpecification
- All Implemented Interfaces:
ExtensionPoint
,Describable<DomainSpecification>
,Serializable
A
DomainSpecification
that matches SchemeRequirement
s where the URI scheme is on a list
of allowed schemes.- Since:
- 1.5
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.domains.DomainSpecification
DomainSpecification.Result
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the comma separated list of URI schemes that this specification matches.test
(DomainRequirement requirement) Tests the scope against this specification.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SchemeSpecification
Constructor for stapler.- Parameters:
schemes
- A comma separated list of scheme names.
-
-
Method Details
-
getSchemes
Returns the comma separated list of URI schemes that this specification matches.- Returns:
- the comma separated list of URI schemes that this specification matches.
-
test
Tests the scope against this specification.- Specified by:
test
in classDomainSpecification
- Parameters:
requirement
- the scope to test.- Returns:
- the result of the test.
-