Class BackgroundServiceEvent
- java.lang.Object
-
- org.openqa.selenium.devtools.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.String
getEventName()
A description of the event.java.lang.String
getInstanceId()
An identifier that groups related events together.java.lang.String
getOrigin()
The origin this event belongs to.ServiceName
getService()
The Background Service this event belongs to.RegistrationID
getServiceWorkerRegistrationId()
The Service Worker ID that initiated the event.TimeSinceEpoch
getTimestamp()
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.
-
-