Class ContainsMatcher
- java.lang.Object
-
- org.fluentlenium.core.filter.matcher.AbstractMatcher
-
- org.fluentlenium.core.filter.matcher.ContainsMatcher
-
public class ContainsMatcher extends AbstractMatcher
Matcher checking that actual contains input value.
-
-
Constructor Summary
Constructors Constructor Description ContainsMatcher(java.lang.String value)
Creates a contains matcher.ContainsMatcher(java.util.regex.Pattern value)
Creates a contains matcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatcherType
getMatcherType()
Return the matcher typeboolean
isSatisfiedBy(java.lang.String currentValue)
Check if the matcher is matched given the value-
Methods inherited from class org.fluentlenium.core.filter.matcher.AbstractMatcher
getMatcherSymbol, getPattern, getValue, isCssFilterSupported, toString
-
-
-
-
Method Detail
-
getMatcherType
public MatcherType getMatcherType()
Description copied from class:AbstractMatcher
Return the matcher type- Specified by:
getMatcherType
in classAbstractMatcher
- Returns:
- matcher type
-
isSatisfiedBy
public boolean isSatisfiedBy(java.lang.String currentValue)
Description copied from class:AbstractMatcher
Check if the matcher is matched given the value- Specified by:
isSatisfiedBy
in classAbstractMatcher
- Parameters:
currentValue
- define the object of check name- Returns:
- boolean value for isSatisfiedBy
-
-