public abstract class PasswordMetadataFilter extends MetadataFilterImpl
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
PasswordMetadataFilter() |
Modifier and Type | Method and Description |
---|---|
MetadataCollection |
filter(MetadataCollection original)
Return all the metadata that matches the filter.
|
java.util.List<java.lang.String> |
getPasswordPatterns() |
protected abstract MetadataElement |
handlePassword(MetadataElement e) |
void |
setPasswordPatterns(java.util.List<java.lang.String> patterns) |
<T extends PasswordMetadataFilter> |
withPatterns(java.lang.String... patterns) |
protected static java.lang.RuntimeException |
wrapException(PasswordException e) |
filter, filter
public MetadataCollection filter(MetadataCollection original)
MetadataFilter
original
- the original set of metadata.MetadataCollection
instance that has been filtered.protected abstract MetadataElement handlePassword(MetadataElement e) throws PasswordException
PasswordException
protected static java.lang.RuntimeException wrapException(PasswordException e)
public java.util.List<java.lang.String> getPasswordPatterns()
public void setPasswordPatterns(java.util.List<java.lang.String> patterns)
public <T extends PasswordMetadataFilter> T withPatterns(java.lang.String... patterns)