public static class TokenFilter.ContainsString extends ProjectComponent implements TokenFilter.Filter
description, location, project
Constructor and Description |
---|
TokenFilter.ContainsString() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
filter(java.lang.String string)
Filter strings that contain the contains attribute
|
void |
setContains(java.lang.String contains)
the contains attribute
|
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public void setContains(java.lang.String contains)
contains
- the string that the token should containpublic java.lang.String filter(java.lang.String string)
filter
in interface TokenFilter.Filter
string
- the string to be filtered