public static class CredentialsTypeFilter.Includes extends CredentialsTypeFilter
Modifier and Type | Class and Description |
---|---|
static class |
CredentialsTypeFilter.Includes.DescriptorImpl
Our descriptor.
|
CredentialsTypeFilter.Excludes, CredentialsTypeFilter.Includes, CredentialsTypeFilter.None
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
Includes(List<String> classNames)
Our constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
filter(CredentialsDescriptor type)
Returns
true if and only if the supplied CredentialsDescriptor is permitted to be active. |
List<String> |
getClassNames()
Returns the whitelist of allowed
Class.getName() . |
int |
hashCode() |
String |
toString() |
getDescriptor
public boolean filter(CredentialsDescriptor type)
true
if and only if the supplied CredentialsDescriptor
is permitted to be active.filter
in class CredentialsTypeFilter
type
- the CredentialsDescriptor
to check.true
if and only if the supplied CredentialsDescriptor
is permitted to be active.@NonNull public List<String> getClassNames()
Class.getName()
.Class.getName()
.public boolean equals(Object o)
equals
in class CredentialsTypeFilter
public int hashCode()
hashCode
in class CredentialsTypeFilter
public String toString()
toString
in class CredentialsTypeFilter
Copyright © 2016–2020. All rights reserved.