Class BackgroundServiceEvent
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.backgroundservice.model.BackgroundServiceEvent
-
public class BackgroundServiceEvent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BackgroundServiceEvent(TimeSinceEpoch timestamp, java.lang.String origin, RegistrationID serviceWorkerRegistrationId, ServiceName service, java.lang.String eventName, java.lang.String instanceId, java.util.List<EventMetadata> eventMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<EventMetadata>getEventMetadata()A list of event-specific information.java.lang.StringgetEventName()A description of the event.java.lang.StringgetInstanceId()An identifier that groups related events together.java.lang.StringgetOrigin()The origin this event belongs to.ServiceNamegetService()The Background Service this event belongs to.RegistrationIDgetServiceWorkerRegistrationId()The Service Worker ID that initiated the event.TimeSinceEpochgetTimestamp()Timestamp of the event (in seconds).
-
-
-
Constructor Detail
-
BackgroundServiceEvent
public BackgroundServiceEvent(TimeSinceEpoch timestamp, java.lang.String origin, RegistrationID serviceWorkerRegistrationId, ServiceName service, java.lang.String eventName, java.lang.String instanceId, java.util.List<EventMetadata> eventMetadata)
-
-
Method Detail
-
getTimestamp
public TimeSinceEpoch getTimestamp()
Timestamp of the event (in seconds).
-
getOrigin
public java.lang.String getOrigin()
The origin this event belongs to.
-
getServiceWorkerRegistrationId
public RegistrationID getServiceWorkerRegistrationId()
The Service Worker ID that initiated the event.
-
getService
public ServiceName getService()
The Background Service this event belongs to.
-
getEventName
public java.lang.String getEventName()
A description of the event.
-
getInstanceId
public java.lang.String getInstanceId()
An identifier that groups related events together.
-
getEventMetadata
public java.util.List<EventMetadata> getEventMetadata()
A list of event-specific information.
-
-