Package Torello.Browser.BrowserAPI
Class Target.TargetInfo
- java.lang.Object
-
- Torello.Browser.BaseType<Target.TargetInfo>
-
- Torello.Browser.BrowserAPI.Target.TargetInfo
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Target
public static class Target.TargetInfo extends BaseType<Target.TargetInfo> 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 theTargetdomain, 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/Target.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Target.java
File Size: 3,840 Bytes Line Count: 96 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Target$$TargetInfo$$.java
- Open New Browser-Tab: Target$$TargetInfo$$.java
File Size: 12,151 Bytes Line Count: 288 '\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 booleanattachedWhether the target has an attached client.StringbrowserContextId[No Description Provided by Google]booleancanAccessOpenerWhether the target has access to the originating window.StringopenerFrameIdFrame id of originating window (is only set if target has an opener).StringopenerIdOpener target IdStringsubtypeProvides additional details for specific target types.StringtargetId[No Description Provided by Google]Stringtitle[No Description Provided by Google]StringtypeList of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22Stringurl[No Description Provided by Google]
-
Constructor Summary
Constructors Constructor Description TargetInfo(ReadOnlyList<Boolean> isPresent, String targetId, String type, String title, String url, boolean attached, String openerId, boolean canAccessOpener, String openerFrameId, String browserContextId, String subtype)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Target.TargetInfofromJSON(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<Target.TargetInfo>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
-
targetId
public final java.lang.String targetId
[No Description Provided by Google]
-
type
public final java.lang.String type
List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22
-
title
public final java.lang.String title
[No Description Provided by Google]
-
url
public final java.lang.String url
[No Description Provided by Google]
-
attached
public final boolean attached
Whether the target has an attached client.
-
openerId
public final java.lang.String openerId
Opener target Id
OPTIONAL
-
canAccessOpener
public final boolean canAccessOpener
Whether the target has access to the originating window.
EXPERIMENTAL
-
openerFrameId
public final java.lang.String openerFrameId
Frame id of originating window (is only set if target has an opener).
OPTIONALEXPERIMENTAL
-
browserContextId
public final java.lang.String browserContextId
[No Description Provided by Google]
OPTIONALEXPERIMENTAL
-
subtype
public final java.lang.String subtype
Provides additional details for specific target types. For example, for the type of "page", this may be set to "prerender".
OPTIONALEXPERIMENTAL
-
-
Constructor Detail
-
TargetInfo
public TargetInfo(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String targetId, java.lang.String type, java.lang.String title, java.lang.String url, boolean attached, java.lang.String openerId, boolean canAccessOpener, java.lang.String openerFrameId, java.lang.String browserContextId, java.lang.String subtype)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Target.TargetInfo fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Target.TargetInfo> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-