public class StringListConditionsImpl extends BaseObjectListConditions<java.lang.String,StringConditions> implements StringConditions
conditions, conditionsGetter, objectGetter| Constructor and Description |
|---|
StringListConditionsImpl(Conditions<FluentWebElement> conditions,
java.util.function.Function<FluentWebElement,java.lang.String> objectGetter,
java.util.function.Function<FluentWebElement,StringConditions> conditionsGetter)
Creates a new list of string conditions
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.CharSequence charSequence)
Check that this contains the given sequence of characters.
|
boolean |
endsWith(java.lang.String suffix)
Check that this ends with the given string.
|
boolean |
equalTo(java.lang.String anotherString)
Check that this is equal to with the given string.
|
boolean |
equalToIgnoreCase(java.lang.String anotherString)
Check that this is equal to with the given string, ignoring case.
|
boolean |
matches(java.util.regex.Pattern pattern)
Check that this matches the given regular expression pattern.
|
boolean |
matches(java.lang.String regex)
Check that this matches the given regular expression string.
|
StringListConditionsImpl |
not()
Negates this condition object.
|
boolean |
startsWith(java.lang.String prefix)
Check that this starts with the given string.
|
getActualObject, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitverifypublic StringListConditionsImpl(Conditions<FluentWebElement> conditions, java.util.function.Function<FluentWebElement,java.lang.String> objectGetter, java.util.function.Function<FluentWebElement,StringConditions> conditionsGetter)
conditions - string conditionsobjectGetter - getter of the underlying stringconditionsGetter - getter of the underlying string conditionspublic StringListConditionsImpl not()
Conditionsnot in interface Conditions<java.lang.String>not in interface StringConditionspublic boolean contains(java.lang.CharSequence charSequence)
StringConditionscontains in interface StringConditionscharSequence - sequence of characterspublic boolean startsWith(java.lang.String prefix)
StringConditionsstartsWith in interface StringConditionsprefix - stringpublic boolean endsWith(java.lang.String suffix)
StringConditionsendsWith in interface StringConditionssuffix - stringpublic boolean equalTo(java.lang.String anotherString)
StringConditionsequalTo in interface StringConditionsanotherString - another stringpublic boolean equalToIgnoreCase(java.lang.String anotherString)
StringConditionsequalToIgnoreCase in interface StringConditionsanotherString - another stringpublic boolean matches(java.lang.String regex)
StringConditionsmatches in interface StringConditionsregex - regular expression stringpublic boolean matches(java.util.regex.Pattern pattern)
StringConditionsmatches in interface StringConditionspattern - regular expression patternCopyright © 2018 FluentLenium. All Rights Reserved.