public abstract class CredentialsProviderTypeRestriction extends hudson.model.AbstractDescribableImpl<CredentialsProviderTypeRestriction> implements Serializable, hudson.ExtensionPoint
CredentialsDescriptor types scoped to specific CredentialsProvider instances used by
CredentialsProviderManager to determine which types are applicable to each provider.CredentialsProviderFilter,
CredentialsTypeFilter,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
CredentialsProviderTypeRestriction.Excludes
A blacklist of types for each provider.
|
static class |
CredentialsProviderTypeRestriction.Includes
A whitelist of types for each provider.
|
| Constructor and Description |
|---|
CredentialsProviderTypeRestriction() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj) |
abstract boolean |
filter(CredentialsProvider provider,
CredentialsDescriptor type)
Returns
true if the supplied CredentialsDescriptor is permitted to be active for the supplied
CredentialsProvider. |
CredentialsProviderTypeRestrictionDescriptor |
getDescriptor() |
abstract int |
hashCode() |
abstract String |
toString() |
public abstract boolean filter(CredentialsProvider provider, CredentialsDescriptor type)
true if the supplied CredentialsDescriptor is permitted to be active for the supplied
CredentialsProvider.provider - the CredentialsProvider to check.type - the CredentialsDescriptor to check.true if and only if the supplied CredentialsProvider is permitted to be active.for
how multiple instances are combined.public CredentialsProviderTypeRestrictionDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<CredentialsProviderTypeRestriction>getDescriptor in class hudson.model.AbstractDescribableImpl<CredentialsProviderTypeRestriction>Copyright © 2016–2017. All rights reserved.