Class DomainSpecification
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<DomainSpecification>
-
- com.cloudbees.plugins.credentials.domains.DomainSpecification
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<DomainSpecification>
,Serializable
- Direct Known Subclasses:
HostnamePortSpecification
,HostnameSpecification
,PathSpecification
,SchemeSpecification
public abstract class DomainSpecification extends AbstractDescribableImpl<DomainSpecification> implements ExtensionPoint, Serializable
Base class for a specification against whichDomainRequirement
s can be tested.- Since:
- 1.5
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainSpecification.Result
The results of anyDomainRequirement
test against aDomainSpecification
.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DomainSpecification()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract DomainSpecification.Result
test(DomainRequirement scope)
Tests the scope against this specification.-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
test
@NonNull public abstract DomainSpecification.Result test(@NonNull DomainRequirement scope)
Tests the scope against this specification.- Parameters:
scope
- the scope to test.- Returns:
- the result of the test.
-
-