Record Class HealingExplanation
java.lang.Object
java.lang.Record
com.shaft.gui.internal.healing.HealingExplanation
- Record Components:
attemptId- provider-owned safe correlation identifieroriginalLocator- original failed locatorhealedLocator- selected replacement locatorconfidence- confidence score from 0.0 to 1.0threshold- configured minimum score from 0.0 to 1.0evidence- safe evidence summaryproviderStatus- optional provider statusreason- safe decision explanation
public record HealingExplanation(String attemptId, org.openqa.selenium.By originalLocator, org.openqa.selenium.By healedLocator, double confidence, double threshold, List<String> evidence, String providerStatus, String reason)
extends Record
Provider-neutral explanation for an accepted healing decision.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattemptIdrecord component.doubleReturns the value of theconfidencerecord component.final booleanIndicates whether some other object is "equal to" this one.evidence()Returns the value of theevidencerecord component.final inthashCode()Returns a hash code value for this object.org.openqa.selenium.ByReturns the value of thehealedLocatorrecord component.org.openqa.selenium.ByReturns the value of theoriginalLocatorrecord component.Returns the value of theproviderStatusrecord component.reason()Returns the value of thereasonrecord component.doubleReturns the value of thethresholdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HealingExplanation
-
-
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. -
attemptId
-
originalLocator
public org.openqa.selenium.By originalLocator()Returns the value of theoriginalLocatorrecord component.- Returns:
- the value of the
originalLocatorrecord component
-
healedLocator
public org.openqa.selenium.By healedLocator()Returns the value of thehealedLocatorrecord component.- Returns:
- the value of the
healedLocatorrecord component
-
confidence
public double confidence()Returns the value of theconfidencerecord component.- Returns:
- the value of the
confidencerecord component
-
threshold
-
evidence
-
providerStatus
Returns the value of theproviderStatusrecord component.- Returns:
- the value of the
providerStatusrecord component
-
reason
-