Package com.codeborne.selenide
Record Class TextMatchOptions
java.lang.Object
java.lang.Record
com.codeborne.selenide.TextMatchOptions
public record TextMatchOptions(TextCheck textCheck, CaseSensitivity caseSensitivity, com.codeborne.selenide.WhitespaceHandling whitespaceHandling)
extends Record
- 
Constructor SummaryConstructorsConstructorDescriptionTextMatchOptions(TextCheck textCheck, CaseSensitivity caseSensitivity, com.codeborne.selenide.WhitespaceHandling whitespaceHandling) Creates an instance of aTextMatchOptionsrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thecaseSensitivityrecord component.final booleanIndicates whether some other object is "equal to" this one.static TextMatchOptionsfullText()final inthashCode()Returns a hash code value for this object.static TextMatchOptionsReturns the value of thetextCheckrecord component.toMap()toString()Returns a string representation of this record class.com.codeborne.selenide.WhitespaceHandlingReturns the value of thewhitespaceHandlingrecord component.
- 
Constructor Details- 
TextMatchOptionspublic TextMatchOptions(TextCheck textCheck, CaseSensitivity caseSensitivity, com.codeborne.selenide.WhitespaceHandling whitespaceHandling) Creates an instance of aTextMatchOptionsrecord class.- Parameters:
- textCheck- the value for the- textCheckrecord component
- caseSensitivity- the value for the- caseSensitivityrecord component
- whitespaceHandling- the value for the- whitespaceHandlingrecord component
 
 
- 
- 
Method Details- 
fullText
- 
partialText
- 
caseInsensitive
- 
caseSensitive
- 
preserveWhitespaces
- 
ignoreWhitespaces
- 
trimWhitespaces
- 
toMap
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
textCheckReturns the value of thetextCheckrecord component.- Returns:
- the value of the textCheckrecord component
 
- 
caseSensitivityReturns the value of thecaseSensitivityrecord component.- Returns:
- the value of the caseSensitivityrecord component
 
- 
whitespaceHandlingpublic com.codeborne.selenide.WhitespaceHandling whitespaceHandling()Returns the value of thewhitespaceHandlingrecord component.- Returns:
- the value of the whitespaceHandlingrecord component
 
 
-