Package Torello.Browser.BrowserAPI
Class PerformanceTimeline.TimelineEvent
- java.lang.Object
-
- Torello.Browser.BaseType<PerformanceTimeline.TimelineEvent>
-
- Torello.Browser.BrowserAPI.PerformanceTimeline.TimelineEvent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- PerformanceTimeline
public static class PerformanceTimeline.TimelineEvent extends BaseType<PerformanceTimeline.TimelineEvent> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in thePerformanceTimelinedomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.[No Description Provided by Google]- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/PerformanceTimeline.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/PerformanceTimeline.java
File Size: 3,220 Bytes Line Count: 80 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: PerformanceTimeline$$TimelineEvent$$.java
- Open New Browser-Tab: PerformanceTimeline$$TimelineEvent$$.java
File Size: 11,241 Bytes Line Count: 265 '\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 NumberdurationEvent duration, if applicable.StringframeIdIdentifies the frame that this event is related to.PerformanceTimeline.LayoutShiftlayoutShiftDetails[No Description Provided by Google]PerformanceTimeline.LargestContentfulPaintlcpDetails[No Description Provided by Google]StringnameName may be empty depending on the type.NumbertimeTime in seconds since Epoch, monotonically increasing within document lifetime.StringtypeThe event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fields is present.-
Fields inherited from class Torello.Browser.BaseType
domain, helperSingleton, isPresent, numFields
-
-
Constructor Summary
Constructors Constructor Description TimelineEvent(ReadOnlyList<Boolean> isPresent, String frameId, String type, String name, Number time, Number duration, PerformanceTimeline.LargestContentfulPaint lcpDetails, PerformanceTimeline.LayoutShift layoutShiftDetails)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static PerformanceTimeline.TimelineEventfromJSON(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<PerformanceTimeline.TimelineEvent>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
-
frameId
public final java.lang.String frameId
Identifies the frame that this event is related to. Empty for non-frame targets.
-
type
public final java.lang.String type
The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fields is present.
-
name
public final java.lang.String name
Name may be empty depending on the type.
-
time
public final java.lang.Number time
Time in seconds since Epoch, monotonically increasing within document lifetime.
-
duration
public final java.lang.Number duration
Event duration, if applicable.
OPTIONAL
-
lcpDetails
public final PerformanceTimeline.LargestContentfulPaint lcpDetails
[No Description Provided by Google]
OPTIONAL
-
layoutShiftDetails
public final PerformanceTimeline.LayoutShift layoutShiftDetails
[No Description Provided by Google]
OPTIONAL
-
-
Constructor Detail
-
TimelineEvent
public TimelineEvent(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String frameId, java.lang.String type, java.lang.String name, java.lang.Number time, java.lang.Number duration, PerformanceTimeline.LargestContentfulPaint lcpDetails, PerformanceTimeline.LayoutShift layoutShiftDetails)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static PerformanceTimeline.TimelineEvent fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<PerformanceTimeline.TimelineEvent> descriptor ()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-