Record Class CaptureEvent.WindowEvent
java.lang.Object
java.lang.Record
com.shaft.capture.model.CaptureEvent.WindowEvent
- Record Components:
context- common event contextaction- window operationlogicalWindowId- target logical identifier
- All Implemented Interfaces:
CaptureEvent
- Enclosing interface:
CaptureEvent
public static record CaptureEvent.WindowEvent(EventContext context, CaptureEvent.WindowAction action, String logicalWindowId)
extends Record
implements CaptureEvent
Window or tab event.
-
Nested Class Summary
Nested classes/interfaces inherited from interface CaptureEvent
CaptureEvent.AlertAction, CaptureEvent.AlertEvent, CaptureEvent.ClearEvent, CaptureEvent.ClickEvent, CaptureEvent.FrameAction, CaptureEvent.FrameEvent, CaptureEvent.KeyboardEvent, CaptureEvent.MouseButton, CaptureEvent.NavigationAction, CaptureEvent.NavigationEvent, CaptureEvent.SelectEvent, CaptureEvent.SelectMode, CaptureEvent.ToggleEvent, CaptureEvent.TypeEvent, CaptureEvent.UploadEvent, CaptureEvent.VerificationEvent, CaptureEvent.VerificationKind, CaptureEvent.WaitCondition, CaptureEvent.WaitEvent, CaptureEvent.WindowAction, CaptureEvent.WindowEvent -
Constructor Summary
ConstructorsConstructorDescriptionWindowEvent(EventContext context, CaptureEvent.WindowAction action, String logicalWindowId) Creates a window event. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.context()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelogicalWindowIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WindowEvent
Creates a window event.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
context
Returns the value of thecontextrecord component.- Specified by:
contextin interfaceCaptureEvent- Returns:
- the value of the
contextrecord component
-
action
-
logicalWindowId
Returns the value of thelogicalWindowIdrecord component.- Returns:
- the value of the
logicalWindowIdrecord component
-