Class CredentialsProviderTypeRestriction.Excludes
java.lang.Object
hudson.model.AbstractDescribableImpl<CredentialsProviderTypeRestriction>
com.cloudbees.plugins.credentials.CredentialsProviderTypeRestriction
com.cloudbees.plugins.credentials.CredentialsProviderTypeRestriction.Excludes
- All Implemented Interfaces:
ExtensionPoint
,Describable<CredentialsProviderTypeRestriction>
,Serializable
- Enclosing class:
- CredentialsProviderTypeRestriction
public static class CredentialsProviderTypeRestriction.Excludes
extends CredentialsProviderTypeRestriction
A list of excluded types for each provider.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our descriptorNested classes/interfaces inherited from class com.cloudbees.plugins.credentials.CredentialsProviderTypeRestriction
CredentialsProviderTypeRestriction.Excludes, CredentialsProviderTypeRestriction.Includes
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
filter
(CredentialsProvider provider, CredentialsDescriptor type) Returnstrue
if the suppliedCredentialsDescriptor
is permitted to be active for the suppliedCredentialsProvider
.Returns theCredentialsProvider
Descriptor.getId()
.getType()
Returns theCredentialsDescriptor
Descriptor.getId()
.int
hashCode()
toString()
Methods inherited from class com.cloudbees.plugins.credentials.CredentialsProviderTypeRestriction
getDescriptor
-
Constructor Details
-
Excludes
Our constructor.- Parameters:
provider
- theCredentialsProvider
Descriptor.getId()
.type
- theCredentialsDescriptor
Descriptor.getId()
.
-
-
Method Details
-
getProvider
Returns theCredentialsProvider
Descriptor.getId()
. -
getType
Returns theCredentialsDescriptor
Descriptor.getId()
. -
equals
- Specified by:
equals
in classCredentialsProviderTypeRestriction
-
hashCode
public int hashCode()- Specified by:
hashCode
in classCredentialsProviderTypeRestriction
-
toString
- Specified by:
toString
in classCredentialsProviderTypeRestriction
-
filter
Returnstrue
if the suppliedCredentialsDescriptor
is permitted to be active for the suppliedCredentialsProvider
.- Specified by:
filter
in classCredentialsProviderTypeRestriction
- Parameters:
provider
- theCredentialsProvider
to check.type
- theCredentialsDescriptor
to check.- Returns:
true
if and only if the suppliedCredentialsProvider
is permitted to be active.- See Also:
-