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 base
Descriptor class for all CredentialsProviderFilter 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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanfilter(CredentialsProvider provider) Helper method that returns the currentCredentialsProviderFiltereffective state for the suppliedCredentialsProvider.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
CredentialsProviderFilterDescriptor
public CredentialsProviderFilterDescriptor()
-
-
Method Details
-
filter
Helper method that returns the currentCredentialsProviderFiltereffective state for the suppliedCredentialsProvider. Used to ensure that when changing implementation the initial config is equivalent to the current.- Parameters:
provider- theCredentialsProviderto check.- Returns:
trueif and only if the currentCredentialsProviderFilterreturnstruefor the suppliedCredentialsProvider.
-