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
Nested ClassesModifier and TypeClassDescriptionstatic classOur descriptorNested classes/interfaces inherited from class com.cloudbees.plugins.credentials.CredentialsProviderTypeRestriction
CredentialsProviderTypeRestriction.Excludes, CredentialsProviderTypeRestriction.IncludesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanfilter(CredentialsProvider provider, CredentialsDescriptor type) Returnstrueif the suppliedCredentialsDescriptoris permitted to be active for the suppliedCredentialsProvider.Returns theCredentialsProviderDescriptor.getId().getType()Returns theCredentialsDescriptorDescriptor.getId().inthashCode()toString()Methods inherited from class com.cloudbees.plugins.credentials.CredentialsProviderTypeRestriction
getDescriptor
-
Constructor Details
-
Excludes
Our constructor.- Parameters:
provider- theCredentialsProviderDescriptor.getId().type- theCredentialsDescriptorDescriptor.getId().
-
-
Method Details
-
getProvider
Returns theCredentialsProviderDescriptor.getId(). -
getType
Returns theCredentialsDescriptorDescriptor.getId(). -
equals
- Specified by:
equalsin classCredentialsProviderTypeRestriction
-
hashCode
public int hashCode()- Specified by:
hashCodein classCredentialsProviderTypeRestriction
-
toString
- Specified by:
toStringin classCredentialsProviderTypeRestriction
-
filter
Returnstrueif the suppliedCredentialsDescriptoris permitted to be active for the suppliedCredentialsProvider.- Specified by:
filterin classCredentialsProviderTypeRestriction- Parameters:
provider- theCredentialsProviderto check.type- theCredentialsDescriptorto check.- Returns:
trueif and only if the suppliedCredentialsProvideris permitted to be active.- See Also:
-