Record Class HealingFingerprintSeed
java.lang.Object
java.lang.Record
com.shaft.gui.internal.healing.HealingFingerprintSeed
- Record Components:
tagName- element tag nameaccessibleName- computed accessible nameassociatedLabel- associated label textvisibleText- bounded visible textid- stable IDname- stable namerole- accessible roletype- semantic typeplaceholder- placeholder texttitle- title texttestIds- configured test ID attributessemanticAttributes- other permitted semantic attributesdisplayed- whether the element was displayed when recordedenabled- whether the element was enabled when recordedselected- whether the element was selected when recorded
public record HealingFingerprintSeed(String tagName, String accessibleName, String associatedLabel, String visibleText, String id, String name, String role, String type, String placeholder, String title, Map<String,String> testIds, Map<String,String> semanticAttributes, boolean displayed, boolean enabled, boolean selected)
extends Record
Plain-data element evidence for seeding SHAFT Heal history without a live driver or element
(issue #4161). shaft-engine must not depend on shaft-heal, so this mirrors shaft-heal's
LocatorFingerprint field-for-field for the web platform; an optional provider converts
it into a real fingerprint and persists it.-
Constructor Summary
ConstructorsConstructorDescriptionHealingFingerprintSeed(String tagName, String accessibleName, String associatedLabel, String visibleText, String id, String name, String role, String type, String placeholder, String title, Map<String, String> testIds, Map<String, String> semanticAttributes, boolean displayed, boolean enabled, boolean selected) Creates an immutable seed with null-safe defaults. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccessibleNamerecord component.Returns the value of theassociatedLabelrecord component.booleanReturns the value of thedisplayedrecord component.booleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.Returns the value of theplaceholderrecord component.role()Returns the value of therolerecord component.booleanselected()Returns the value of theselectedrecord component.Returns the value of thesemanticAttributesrecord component.tagName()Returns the value of thetagNamerecord component.testIds()Returns the value of thetestIdsrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.Returns the value of thevisibleTextrecord component.
-
Constructor Details
-
HealingFingerprintSeed
public HealingFingerprintSeed(String tagName, String accessibleName, String associatedLabel, String visibleText, String id, String name, String role, String type, String placeholder, String title, Map<String, String> testIds, Map<String, String> semanticAttributes, boolean displayed, boolean enabled, boolean selected) Creates an immutable seed with null-safe defaults.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
tagName
-
accessibleName
Returns the value of theaccessibleNamerecord component.- Returns:
- the value of the
accessibleNamerecord component
-
associatedLabel
Returns the value of theassociatedLabelrecord component.- Returns:
- the value of the
associatedLabelrecord component
-
visibleText
Returns the value of thevisibleTextrecord component.- Returns:
- the value of the
visibleTextrecord component
-
id
-
name
-
role
-
type
-
placeholder
Returns the value of theplaceholderrecord component.- Returns:
- the value of the
placeholderrecord component
-
title
-
testIds
-
semanticAttributes
Returns the value of thesemanticAttributesrecord component.- Returns:
- the value of the
semanticAttributesrecord component
-
displayed
-
enabled
-
selected
-