Class EqualMatcher
java.lang.Object
io.fluentlenium.core.filter.matcher.AbstractMatcher
io.fluentlenium.core.filter.matcher.EqualMatcher
Matcher checking that actual is equal to input value.
-
Constructor Summary
ConstructorsConstructorDescriptionEqualMatcher
(String value) Creates an equal matcher.EqualMatcher
(Pattern value) Creates an equal matcher. -
Method Summary
Modifier and TypeMethodDescriptionReturn the matcher typeboolean
isSatisfiedBy
(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
-
EqualMatcher
Creates an equal matcher.- Parameters:
value
- input value
-
EqualMatcher
Creates an equal matcher.- Parameters:
value
- input value
-
-
Method Details
-
getMatcherType
Description copied from class:AbstractMatcher
Return the matcher type- Specified by:
getMatcherType
in classAbstractMatcher
- Returns:
- matcher type
-
isSatisfiedBy
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
-