public abstract class CredentialsProviderTypeRestrictionDescriptor extends hudson.model.Descriptor<CredentialsProviderTypeRestriction>
Descriptor base class for CredentialsProviderTypeRestriction implementations.| Constructor and Description |
|---|
CredentialsProviderTypeRestrictionDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
filter(List<CredentialsProviderTypeRestriction> restrictions,
CredentialsProvider provider,
CredentialsDescriptor type)
Computes the effective
CredentialsProviderTypeRestriction.filter(CredentialsProvider, CredentialsDescriptor) result from the
sublist of all CredentialsProviderTypeRestriction instances that use this
instance. |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic CredentialsProviderTypeRestrictionDescriptor()
public abstract boolean filter(List<CredentialsProviderTypeRestriction> restrictions, CredentialsProvider provider, CredentialsDescriptor type)
CredentialsProviderTypeRestriction.filter(CredentialsProvider, CredentialsDescriptor) result from the
sublist of all CredentialsProviderTypeRestriction instances that use this
instance. Each implementation can determine the policy to
follow, typically implementations will from two styles:
CredentialsProviderTypeRestriction.filter(CredentialsProvider, CredentialsDescriptor) returning
trueCredentialsProviderTypeRestriction.filter(CredentialsProvider, CredentialsDescriptor) returning
falserestrictions - the sublist of CredentialsProviderManager.getRestrictions() that return this
from CredentialsProviderTypeRestriction.getDescriptor()provider - the CredentialsProvider to check.type - the CredentialsDescriptor to check.true if and only if the supplied CredentialsDescriptor is permitted in the scope of
the supplied CredentialsProviderCopyright © 2016–2017. All rights reserved.