Package io.fluentlenium.core.conditions
Interface StringConditions
- All Superinterfaces:
Conditions<String>
- All Known Implementing Classes:
StringConditionsImpl
,StringListConditionsImpl
Conditions API from String.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(CharSequence charSequence) Check that this contains the given sequence of characters.boolean
Check that this ends with the given string.boolean
Check that this is equal to with the given string.boolean
equalToIgnoreCase
(String anotherString) Check that this is equal to with the given string, ignoring case.boolean
Check that this matches the given regular expression string.boolean
Check that this matches the given regular expression pattern.not()
Negates this condition object.boolean
startsWith
(String prefix) Check that this starts with the given string.Methods inherited from interface io.fluentlenium.core.conditions.Conditions
verify
-
Method Details
-
not
StringConditions not()Description copied from interface:Conditions
Negates this condition object.- Specified by:
not
in interfaceConditions<String>
- Returns:
- a negated condition object
-
contains
Check that this contains the given sequence of characters.- Parameters:
charSequence
- sequence of characters- Returns:
- true if it contains the given sequence of characters, false otherwise
-
startsWith
Check that this starts with the given string.- Parameters:
prefix
- string- Returns:
- true if it starts with the given string, false otherwise
-
endsWith
Check that this ends with the given string.- Parameters:
suffix
- string- Returns:
- true if it ends with the given string, false otherwise
-
equalTo
Check that this is equal to with the given string.- Parameters:
anotherString
- another string- Returns:
- true if it is equal to the given string, false otherwise
-
equalToIgnoreCase
Check that this is equal to with the given string, ignoring case.- Parameters:
anotherString
- another string- Returns:
- true if it is equal to the given string, ignoring case, false otherwise
-
matches
Check that this matches the given regular expression string.- Parameters:
regex
- regular expression string- Returns:
- true if it matches the given regular expression string, false otherwise
-
matches
Check that this matches the given regular expression pattern.- Parameters:
pattern
- regular expression pattern- Returns:
- true if it matches the given regular expression pattern, false otherwise
-