public abstract class CredentialsTypeFilter extends hudson.model.AbstractDescribableImpl<CredentialsTypeFilter> implements Serializable, hudson.ExtensionPoint
CredentialsDescriptor types used by CredentialsProviderManager to determine which
types are active.| Modifier and Type | Class and Description |
|---|---|
static class |
CredentialsTypeFilter.Excludes
A filter that implements a blacklist policy, "if you are not on the list you can come in".
|
static class |
CredentialsTypeFilter.Includes
A filter that implements a whitelist policy, "if you are not on the list you can't come in".
|
static class |
CredentialsTypeFilter.None
A filter that does not filter anything.
|
| Constructor and Description |
|---|
CredentialsTypeFilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj) |
abstract boolean |
filter(CredentialsDescriptor type)
Returns
true if and only if the supplied CredentialsDescriptor is permitted to be active. |
CredentialsTypeFilterDescriptor |
getDescriptor() |
abstract int |
hashCode() |
abstract String |
toString() |
public abstract boolean filter(CredentialsDescriptor type)
true if and only if the supplied CredentialsDescriptor is permitted to be active.type - the CredentialsDescriptor to check.true if and only if the supplied CredentialsDescriptor is permitted to be active.public CredentialsTypeFilterDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<CredentialsTypeFilter>getDescriptor in class hudson.model.AbstractDescribableImpl<CredentialsTypeFilter>Copyright © 2016–2017. All rights reserved.