Class CredentialsProviderFilterDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<CredentialsProviderFilter>
-
- com.cloudbees.plugins.credentials.CredentialsProviderFilterDescriptor
-
- Direct Known Subclasses:
CredentialsProviderFilter.Excludes.DescriptorImpl
,CredentialsProviderFilter.Includes.DescriptorImpl
,CredentialsProviderFilter.None.DescriptorImpl
public abstract class CredentialsProviderFilterDescriptor extends Descriptor<CredentialsProviderFilter>
The baseDescriptor
class for allCredentialsProviderFilter
instances.- Since:
- 2.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description CredentialsProviderFilterDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
filter(CredentialsProvider provider)
Helper method that returns the currentCredentialsProviderFilter
effective state for the suppliedCredentialsProvider
.-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
filter
public boolean filter(CredentialsProvider provider)
Helper method that returns the currentCredentialsProviderFilter
effective state for the suppliedCredentialsProvider
. Used to ensure that when changing implementation the initial config is equivalent to the current.- Parameters:
provider
- theCredentialsProvider
to check.- Returns:
true
if and only if the currentCredentialsProviderFilter
returnstrue
for the suppliedCredentialsProvider
.
-
-