Class PreciseCoverageDeltaUpdate


  • @Beta
    public class PreciseCoverageDeltaUpdate
    extends java.lang.Object
    Reports coverage delta since the last poll (either from an event like this, or from `takePreciseCoverage` for the current isolate. May only be sent if precise code coverage has been started. This event can be trigged by the embedder to, for example, trigger collection of coverage data immediatelly at a certain point in time.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getOccassion()
      Identifier for distinguishing coverage events.
      java.util.List<ScriptCoverage> getResult()
      Coverage data for the current isolate.
      java.lang.Number getTimestamp()
      Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
      • Methods inherited from class java.lang.Object

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

      • PreciseCoverageDeltaUpdate

        public PreciseCoverageDeltaUpdate​(java.lang.Number timestamp,
                                          java.lang.String occassion,
                                          java.util.List<ScriptCoverage> result)
    • Method Detail

      • getTimestamp

        public java.lang.Number getTimestamp()
        Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
      • getOccassion

        public java.lang.String getOccassion()
        Identifier for distinguishing coverage events.
      • getResult

        public java.util.List<ScriptCoverage> getResult()
        Coverage data for the current isolate.