Class StringListConditionsImpl

java.lang.Object
io.fluentlenium.core.conditions.BaseObjectListConditions<String, StringConditions>
io.fluentlenium.core.conditions.StringListConditionsImpl
All Implemented Interfaces:
Conditions<String>, ConditionsObject<List<String>>, StringConditions

public class StringListConditionsImpl extends BaseObjectListConditions<String,StringConditions> implements StringConditions
Conditions for list of string.
  • Constructor Details

  • Method Details

    • not

      public StringListConditionsImpl not()
      Description copied from interface: Conditions
      Negates this condition object.
      Specified by:
      not in interface Conditions<String>
      Specified by:
      not in interface StringConditions
      Returns:
      a negated condition object
    • contains

      public boolean contains (CharSequence charSequence)
      Description copied from interface: StringConditions
      Check that this contains the given sequence of characters.
      Specified by:
      contains in interface StringConditions
      Parameters:
      charSequence - sequence of characters
      Returns:
      true if it contains the given sequence of characters, false otherwise
    • startsWith

      public boolean startsWith (String prefix)
      Description copied from interface: StringConditions
      Check that this starts with the given string.
      Specified by:
      startsWith in interface StringConditions
      Parameters:
      prefix - string
      Returns:
      true if it starts with the given string, false otherwise
    • endsWith

      public boolean endsWith (String suffix)
      Description copied from interface: StringConditions
      Check that this ends with the given string.
      Specified by:
      endsWith in interface StringConditions
      Parameters:
      suffix - string
      Returns:
      true if it ends with the given string, false otherwise
    • equalTo

      public boolean equalTo (String anotherString)
      Description copied from interface: StringConditions
      Check that this is equal to with the given string.
      Specified by:
      equalTo in interface StringConditions
      Parameters:
      anotherString - another string
      Returns:
      true if it is equal to the given string, false otherwise
    • equalToIgnoreCase

      public boolean equalToIgnoreCase (String anotherString)
      Description copied from interface: StringConditions
      Check that this is equal to with the given string, ignoring case.
      Specified by:
      equalToIgnoreCase in interface StringConditions
      Parameters:
      anotherString - another string
      Returns:
      true if it is equal to the given string, ignoring case, false otherwise
    • matches

      public boolean matches (String regex)
      Description copied from interface: StringConditions
      Check that this matches the given regular expression string.
      Specified by:
      matches in interface StringConditions
      Parameters:
      regex - regular expression string
      Returns:
      true if it matches the given regular expression string, false otherwise
    • matches

      public boolean matches (Pattern pattern)
      Description copied from interface: StringConditions
      Check that this matches the given regular expression pattern.
      Specified by:
      matches in interface StringConditions
      Parameters:
      pattern - regular expression pattern
      Returns:
      true if it matches the given regular expression pattern, false otherwise