Interface DomainRestrictedCredentials
-
- All Superinterfaces:
Credentials
,Describable<Credentials>
,ExtensionPoint
,Serializable
public interface DomainRestrictedCredentials extends Credentials
Credentials that have a built in restriction- Since:
- 1.10
- See Also:
DomainRequirement
,DomainSpecification
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matches(List<DomainRequirement> domainRequirements)
Determine whether theseCredentials
are applicable for the given requirements.-
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScope
-
-
-
-
Method Detail
-
matches
boolean matches(@NonNull List<DomainRequirement> domainRequirements)
Determine whether theseCredentials
are applicable for the given requirements.- Parameters:
domainRequirements
- The requirements imposed on this credential.- Returns:
- whether this credential meets the given requirement.
-
-