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 SchemeRequirements where the URI scheme is on a list
of allowed schemes.- Since:
- 1.5
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.cloudbees.plugins.credentials.domains.DomainSpecification
DomainSpecification.ResultNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
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:
testin classDomainSpecification- Parameters:
requirement- the scope to test.- Returns:
- the result of the test.
-