Class ContainsMatcher
java.lang.Object
io.fluentlenium.core.filter.matcher.AbstractMatcher
io.fluentlenium.core.filter.matcher.ContainsMatcher
Matcher checking that actual contains input value.
-
Constructor Summary
ConstructorsConstructorDescriptionContainsMatcher(String value) Creates a contains matcher.ContainsMatcher(Pattern value) Creates a contains matcher. -
Method Summary
Modifier and TypeMethodDescriptionReturn the matcher typebooleanisSatisfiedBy(String currentValue) Check if the matcher is matched given the valueMethods inherited from class io.fluentlenium.core.filter.matcher.AbstractMatcher
getMatcherSymbol, getPattern, getValue, isCssFilterSupported, toString
-
Constructor Details
-
ContainsMatcher
Creates a contains matcher.- Parameters:
value- input value
-
ContainsMatcher
Creates a contains matcher.- Parameters:
value- input value
-
-
Method Details
-
getMatcherType
Description copied from class:AbstractMatcherReturn the matcher type- Specified by:
getMatcherTypein classAbstractMatcher- Returns:
- matcher type
-
isSatisfiedBy
Description copied from class:AbstractMatcherCheck if the matcher is matched given the value- Specified by:
isSatisfiedByin classAbstractMatcher- Parameters:
currentValue- define the object of check name- Returns:
- boolean value for isSatisfiedBy
-