Class StartsWithMatcher
java.lang.Object
io.fluentlenium.core.filter.matcher.AbstractMatcher
io.fluentlenium.core.filter.matcher.StartsWithMatcher
Matcher checking that actual starts with input value.
-
Constructor Summary
ConstructorDescriptionStartsWithMatcher
(String value) Creates a starts with matcher.StartsWithMatcher
(Pattern value) Creates a starts with 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
-
StartsWithMatcher
Creates a starts with matcher.- Parameters:
value
- input value
-
StartsWithMatcher
Creates a starts with 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
-