Class BackgroundServiceEvent

java.lang.Object
io.webfolder.cdp.type.backgroundservice.BackgroundServiceEvent

public class BackgroundServiceEvent
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    BackgroundServiceEvent()  
  • Method Summary

    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.
    java.lang.String getServiceWorkerRegistrationId()
    The Service Worker ID that initiated the event.
    java.lang.Double getTimestamp()
    Timestamp of the event (in seconds).
    void setEventMetadata​(java.util.List<EventMetadata> eventMetadata)
    A list of event-specific information.
    void setEventName​(java.lang.String eventName)
    A description of the event.
    void setInstanceId​(java.lang.String instanceId)
    An identifier that groups related events together.
    void setOrigin​(java.lang.String origin)
    The origin this event belongs to.
    void setService​(ServiceName service)
    The Background Service this event belongs to.
    void setServiceWorkerRegistrationId​(java.lang.String serviceWorkerRegistrationId)
    The Service Worker ID that initiated the event.
    void setTimestamp​(java.lang.Double timestamp)
    Timestamp of the event (in seconds).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getTimestamp

      public java.lang.Double getTimestamp()
      Timestamp of the event (in seconds).
    • setTimestamp

      public void setTimestamp​(java.lang.Double timestamp)
      Timestamp of the event (in seconds).
    • getOrigin

      public java.lang.String getOrigin()
      The origin this event belongs to.
    • setOrigin

      public void setOrigin​(java.lang.String origin)
      The origin this event belongs to.
    • getServiceWorkerRegistrationId

      public java.lang.String getServiceWorkerRegistrationId()
      The Service Worker ID that initiated the event.
    • setServiceWorkerRegistrationId

      public void setServiceWorkerRegistrationId​(java.lang.String serviceWorkerRegistrationId)
      The Service Worker ID that initiated the event.
    • getService

      public ServiceName getService()
      The Background Service this event belongs to.
    • setService

      public void setService​(ServiceName service)
      The Background Service this event belongs to.
    • getEventName

      public java.lang.String getEventName()
      A description of the event.
    • setEventName

      public void setEventName​(java.lang.String eventName)
      A description of the event.
    • getInstanceId

      public java.lang.String getInstanceId()
      An identifier that groups related events together.
    • setInstanceId

      public void setInstanceId​(java.lang.String instanceId)
      An identifier that groups related events together.
    • getEventMetadata

      public java.util.List<EventMetadata> getEventMetadata()
      A list of event-specific information.
    • setEventMetadata

      public void setEventMetadata​(java.util.List<EventMetadata> eventMetadata)
      A list of event-specific information.