Class CredentialsTypeFilter.None
java.lang.Object
hudson.model.AbstractDescribableImpl<CredentialsTypeFilter>
com.cloudbees.plugins.credentials.CredentialsTypeFilter
com.cloudbees.plugins.credentials.CredentialsTypeFilter.None
- All Implemented Interfaces:
ExtensionPoint
,Describable<CredentialsTypeFilter>
,Serializable
- Enclosing class:
- CredentialsTypeFilter
A filter that does not filter anything.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our descriptor.Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.CredentialsTypeFilter
CredentialsTypeFilter.Excludes, CredentialsTypeFilter.Includes, CredentialsTypeFilter.None
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
filter
(CredentialsDescriptor type) Returnstrue
if and only if the suppliedCredentialsDescriptor
is permitted to be active.int
hashCode()
toString()
Methods inherited from class com.cloudbees.plugins.credentials.CredentialsTypeFilter
getDescriptor
-
Constructor Details
-
None
@DataBoundConstructor public None()Our constructor.
-
-
Method Details
-
filter
Returnstrue
if and only if the suppliedCredentialsDescriptor
is permitted to be active.- Specified by:
filter
in classCredentialsTypeFilter
- Parameters:
type
- theCredentialsDescriptor
to check.- Returns:
true
if and only if the suppliedCredentialsDescriptor
is permitted to be active.
-
equals
- Specified by:
equals
in classCredentialsTypeFilter
-
hashCode
public int hashCode()- Specified by:
hashCode
in classCredentialsTypeFilter
-
toString
- Specified by:
toString
in classCredentialsTypeFilter
-