public class FilterBuilder extends Object
| Constructor and Description |
|---|
FilterBuilder(String customAttribute)
Creates a new filter builder, using custom attributes.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeFilter |
contains(Pattern pattern)
Builds a filter that match when selection contains to a given pattern.
|
AttributeFilter |
contains(String value)
Builds a filter that match when selection contains to a given value.
|
AttributeFilter |
containsWord(String word)
Builds a filter that match when selection contains a given word.
|
AttributeFilter |
endsWith(Pattern pattern)
Builds a filter that match when selection ends with to a given pattern.
|
AttributeFilter |
endsWith(String value)
Builds a filter that match when selection ends with to a given value.
|
AttributeFilter |
equalTo(String value)
Builds a filter that match when selection is equal to a given value.
|
AttributeFilter |
notContains(Pattern pattern)
Builds a filter that match when selection doesn't contain given pattern.
|
AttributeFilter |
notContains(String value)
Builds a filter that match when selection doesn't contain given value.
|
AttributeFilter |
notEndsWith(Pattern pattern)
Builds a filter that match when selection doesn't end with given pattern.
|
AttributeFilter |
notEndsWith(String value)
Builds a filter that match when selection doesn't end with given value.
|
AttributeFilter |
notStartsWith(Pattern pattern)
Builds a filter that match when selection doesn't start with given pattern.
|
AttributeFilter |
notStartsWith(String value)
Builds a filter that match when selection doesn't start with given value.
|
AttributeFilter |
startsWith(Pattern pattern)
Builds a filter that match when selection starts with to a given pattern.
|
AttributeFilter |
startsWith(String value)
Builds a filter that match when selection starts with to a given value.
|
public FilterBuilder(String customAttribute)
customAttribute - custom attributes to use for filters created by this builderpublic AttributeFilter equalTo(String value)
value - value to searchpublic AttributeFilter contains(String value)
value - value to searchpublic AttributeFilter containsWord(String word)
word - value to searchpublic AttributeFilter contains(Pattern pattern)
pattern - pattern to matchpublic AttributeFilter startsWith(String value)
value - value to searchpublic AttributeFilter startsWith(Pattern pattern)
pattern - pattern to matchpublic AttributeFilter endsWith(String value)
value - value to searchpublic AttributeFilter endsWith(Pattern pattern)
pattern - pattern to matchpublic AttributeFilter notContains(String value)
value - value to searchpublic AttributeFilter notContains(Pattern pattern)
pattern - pattern to matchpublic AttributeFilter notStartsWith(String value)
value - value to searchpublic AttributeFilter notStartsWith(Pattern pattern)
pattern - pattern to matchpublic AttributeFilter notEndsWith(String value)
value - value to searchpublic AttributeFilter notEndsWith(Pattern pattern)
pattern - pattern to matchCopyright © 2016 FluentLenium. All Rights Reserved.