Package Torello.Browser.JavaScriptAPI
Class Profiler.preciseCoverageDeltaUpdate
- java.lang.Object
-
- Torello.Browser.BaseType<DOMAIN_NESTED>
-
- Torello.Browser.BrowserEvent<Profiler.preciseCoverageDeltaUpdate>
-
- Torello.Browser.JavaScriptAPI.Profiler.preciseCoverageDeltaUpdate
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Profiler
public static class Profiler.preciseCoverageDeltaUpdate extends BrowserEvent<Profiler.preciseCoverageDeltaUpdate> implements java.io.Serializable
This Nested Java Class is declared as an Event-Type by the CDP API Specifications. This class largely functions as a data container or "data record", and encapsulates the datum values that Google Chrome is incorporating into the event that it is firing.
📌 All browser domain event classes will have a class name that begins with a lower case letter.
👉 Note that this particular event can be fired by theProfilerdomain, located in theJavaScriptAPI. A browser 'domain' is quite similar to a Java Package. It incorporates a suite of features, types and functions under one umbrella.Reports coverage delta since the last poll (either from an event like this, or fromtakePreciseCoveragefor 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 immediately at a certain point in time.
EXPERIMENTAL- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/JavaScriptAPI/Profiler.java
- Open New Browser-Tab: Torello/Browser/JavaScriptAPI/Profiler.java
File Size: 2,524 Bytes Line Count: 55 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Profiler$$preciseCoverageDeltaUpdate$$.java
- Open New Browser-Tab: Profiler$$preciseCoverageDeltaUpdate$$.java
File Size: 9,238 Bytes Line Count: 220 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description StringoccasionIdentifier for distinguishing coverage events.Profiler.ScriptCoverage[]resultCoverage data for the current isolate.NumbertimestampMonotonically increasing time (in seconds) when the coverage update was taken in the backend.
-
Constructor Summary
Constructors Constructor Description preciseCoverageDeltaUpdate(ReadOnlyList<Boolean> isPresent, Number timestamp, String occasion, Profiler.ScriptCoverage[] result)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Profiler.preciseCoverageDeltaUpdatefromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Profiler.preciseCoverageDeltaUpdate>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
timestamp
public final java.lang.Number timestamp
Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
-
occasion
public final java.lang.String occasion
Identifier for distinguishing coverage events.
-
result
public final Profiler.ScriptCoverage[] result
Coverage data for the current isolate.
-
-
Constructor Detail
-
preciseCoverageDeltaUpdate
public preciseCoverageDeltaUpdate (ReadOnlyList<java.lang.Boolean> isPresent, java.lang.Number timestamp, java.lang.String occasion, Profiler.ScriptCoverage[] result)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Profiler.preciseCoverageDeltaUpdate fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Profiler.preciseCoverageDeltaUpdate> descriptor ()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-