Record Class HealingContext
java.lang.Object
java.lang.Record
com.shaft.heal.model.HealingContext
- Record Components:
schemaVersion- context schema versionplatform- evidence platformapplicationId- package or bundle identifierscreenId- activity, view-controller, or bounded root fingerprintautomationContext- Appium native or webview contextwindowHandle- active window identifierframeLocator- configured frame locatorshadowHostLocator- configured shadow host locatorshadowContentLocator- configured shadow content locator
public record HealingContext(String schemaVersion, HealingPlatform platform, String applicationId, String screenId, String automationContext, String windowHandle, String frameLocator, String shadowHostLocator, String shadowContentLocator)
extends Record
Privacy-minimized execution context used to prevent cross-page, cross-app,
frame, shadow-root, and native-context recovery.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHealingContext(String schemaVersion, HealingPlatform platform, String applicationId, String screenId, String automationContext, String windowHandle, String frameLocator, String shadowHostLocator, String shadowContentLocator) Creates an immutable context. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationIdrecord component.Returns the value of theautomationContextrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theframeLocatorrecord component.final inthashCode()Returns a hash code value for this object.platform()Returns the value of theplatformrecord component.Returns the value of theschemaVersionrecord component.screenId()Returns the value of thescreenIdrecord component.Returns the value of theshadowContentLocatorrecord component.Returns the value of theshadowHostLocatorrecord component.Returns a deterministic history key component.final StringtoString()Returns a string representation of this record class.Returns the value of thewindowHandlerecord component.
-
Field Details
-
CURRENT_SCHEMA_VERSION
- See Also:
-
-
Constructor Details
-
HealingContext
-
-
Method Details
-
stableKey
Returns a deterministic history key component.- Returns:
- stable context key
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
platform
-
applicationId
Returns the value of theapplicationIdrecord component.- Returns:
- the value of the
applicationIdrecord component
-
screenId
-
automationContext
Returns the value of theautomationContextrecord component.- Returns:
- the value of the
automationContextrecord component
-
windowHandle
Returns the value of thewindowHandlerecord component.- Returns:
- the value of the
windowHandlerecord component
-
frameLocator
Returns the value of theframeLocatorrecord component.- Returns:
- the value of the
frameLocatorrecord component
-
shadowHostLocator
Returns the value of theshadowHostLocatorrecord component.- Returns:
- the value of the
shadowHostLocatorrecord component
-
shadowContentLocator
Returns the value of theshadowContentLocatorrecord component.- Returns:
- the value of the
shadowContentLocatorrecord component
-