index
int64
repo_id
string
file_path
string
content
string
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/Frame.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Information about the Frame on the page. */ public class Frame { private String id; @Optional private String parentId; private String loaderId; @Optional private String name; private String url; @Experimental @Optional private String urlFragment; @Experimental private String domainAndRegistry; private String securityOrigin; private String mimeType; @Experimental @Optional private String unreachableUrl; @Experimental @Optional private AdFrameStatus adFrameStatus; @Experimental private SecureContextType secureContextType; @Experimental private CrossOriginIsolatedContextType crossOriginIsolatedContextType; @Experimental private List<GatedAPIFeatures> gatedAPIFeatures; /** Frame unique identifier. */ public String getId() { return id; } /** Frame unique identifier. */ public void setId(String id) { this.id = id; } /** Parent frame identifier. */ public String getParentId() { return parentId; } /** Parent frame identifier. */ public void setParentId(String parentId) { this.parentId = parentId; } /** Identifier of the loader associated with this frame. */ public String getLoaderId() { return loaderId; } /** Identifier of the loader associated with this frame. */ public void setLoaderId(String loaderId) { this.loaderId = loaderId; } /** Frame's name as specified in the tag. */ public String getName() { return name; } /** Frame's name as specified in the tag. */ public void setName(String name) { this.name = name; } /** Frame document's URL without fragment. */ public String getUrl() { return url; } /** Frame document's URL without fragment. */ public void setUrl(String url) { this.url = url; } /** Frame document's URL fragment including the '#'. */ public String getUrlFragment() { return urlFragment; } /** Frame document's URL fragment including the '#'. */ public void setUrlFragment(String urlFragment) { this.urlFragment = urlFragment; } /** * Frame document's registered domain, taking the public suffixes list into account. Extracted * from the Frame's url. Example URLs: http://www.google.com/file.html -> "google.com" * http://a.b.co.uk/file.html -> "b.co.uk" */ public String getDomainAndRegistry() { return domainAndRegistry; } /** * Frame document's registered domain, taking the public suffixes list into account. Extracted * from the Frame's url. Example URLs: http://www.google.com/file.html -> "google.com" * http://a.b.co.uk/file.html -> "b.co.uk" */ public void setDomainAndRegistry(String domainAndRegistry) { this.domainAndRegistry = domainAndRegistry; } /** Frame document's security origin. */ public String getSecurityOrigin() { return securityOrigin; } /** Frame document's security origin. */ public void setSecurityOrigin(String securityOrigin) { this.securityOrigin = securityOrigin; } /** Frame document's mimeType as determined by the browser. */ public String getMimeType() { return mimeType; } /** Frame document's mimeType as determined by the browser. */ public void setMimeType(String mimeType) { this.mimeType = mimeType; } /** * If the frame failed to load, this contains the URL that could not be loaded. Note that unlike * url above, this URL may contain a fragment. */ public String getUnreachableUrl() { return unreachableUrl; } /** * If the frame failed to load, this contains the URL that could not be loaded. Note that unlike * url above, this URL may contain a fragment. */ public void setUnreachableUrl(String unreachableUrl) { this.unreachableUrl = unreachableUrl; } /** Indicates whether this frame was tagged as an ad and why. */ public AdFrameStatus getAdFrameStatus() { return adFrameStatus; } /** Indicates whether this frame was tagged as an ad and why. */ public void setAdFrameStatus(AdFrameStatus adFrameStatus) { this.adFrameStatus = adFrameStatus; } /** Indicates whether the main document is a secure context and explains why that is the case. */ public SecureContextType getSecureContextType() { return secureContextType; } /** Indicates whether the main document is a secure context and explains why that is the case. */ public void setSecureContextType(SecureContextType secureContextType) { this.secureContextType = secureContextType; } /** Indicates whether this is a cross origin isolated context. */ public CrossOriginIsolatedContextType getCrossOriginIsolatedContextType() { return crossOriginIsolatedContextType; } /** Indicates whether this is a cross origin isolated context. */ public void setCrossOriginIsolatedContextType( CrossOriginIsolatedContextType crossOriginIsolatedContextType) { this.crossOriginIsolatedContextType = crossOriginIsolatedContextType; } /** Indicated which gated APIs / features are available. */ public List<GatedAPIFeatures> getGatedAPIFeatures() { return gatedAPIFeatures; } /** Indicated which gated APIs / features are available. */ public void setGatedAPIFeatures(List<GatedAPIFeatures> gatedAPIFeatures) { this.gatedAPIFeatures = gatedAPIFeatures; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/FrameResource.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.network.ResourceType; /** Information about the Resource on the page. */ @Experimental public class FrameResource { private String url; private ResourceType type; private String mimeType; @Optional private Double lastModified; @Optional private Double contentSize; @Optional private Boolean failed; @Optional private Boolean canceled; /** Resource URL. */ public String getUrl() { return url; } /** Resource URL. */ public void setUrl(String url) { this.url = url; } /** Type of this resource. */ public ResourceType getType() { return type; } /** Type of this resource. */ public void setType(ResourceType type) { this.type = type; } /** Resource mimeType as determined by the browser. */ public String getMimeType() { return mimeType; } /** Resource mimeType as determined by the browser. */ public void setMimeType(String mimeType) { this.mimeType = mimeType; } /** last-modified timestamp as reported by server. */ public Double getLastModified() { return lastModified; } /** last-modified timestamp as reported by server. */ public void setLastModified(Double lastModified) { this.lastModified = lastModified; } /** Resource content size. */ public Double getContentSize() { return contentSize; } /** Resource content size. */ public void setContentSize(Double contentSize) { this.contentSize = contentSize; } /** True if the resource failed to load. */ public Boolean getFailed() { return failed; } /** True if the resource failed to load. */ public void setFailed(Boolean failed) { this.failed = failed; } /** True if the resource was canceled during loading. */ public Boolean getCanceled() { return canceled; } /** True if the resource was canceled during loading. */ public void setCanceled(Boolean canceled) { this.canceled = canceled; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/FrameResourceTree.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Information about the Frame hierarchy along with their cached resources. */ @Experimental public class FrameResourceTree { private Frame frame; @Optional private List<FrameResourceTree> childFrames; private List<FrameResource> resources; /** Frame information for this tree item. */ public Frame getFrame() { return frame; } /** Frame information for this tree item. */ public void setFrame(Frame frame) { this.frame = frame; } /** Child frames. */ public List<FrameResourceTree> getChildFrames() { return childFrames; } /** Child frames. */ public void setChildFrames(List<FrameResourceTree> childFrames) { this.childFrames = childFrames; } /** Information about frame resources. */ public List<FrameResource> getResources() { return resources; } /** Information about frame resources. */ public void setResources(List<FrameResource> resources) { this.resources = resources; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/FrameTree.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Information about the Frame hierarchy. */ public class FrameTree { private Frame frame; @Optional private List<FrameTree> childFrames; /** Frame information for this tree item. */ public Frame getFrame() { return frame; } /** Frame information for this tree item. */ public void setFrame(Frame frame) { this.frame = frame; } /** Child frames. */ public List<FrameTree> getChildFrames() { return childFrames; } /** Child frames. */ public void setChildFrames(List<FrameTree> childFrames) { this.childFrames = childFrames; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/GatedAPIFeatures.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum GatedAPIFeatures { @JsonProperty("SharedArrayBuffers") SHARED_ARRAY_BUFFERS, @JsonProperty("SharedArrayBuffersTransferAllowed") SHARED_ARRAY_BUFFERS_TRANSFER_ALLOWED, @JsonProperty("PerformanceMeasureMemory") PERFORMANCE_MEASURE_MEMORY, @JsonProperty("PerformanceProfile") PERFORMANCE_PROFILE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/InstallabilityError.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import java.util.List; /** The installability error */ @Experimental public class InstallabilityError { private String errorId; private List<InstallabilityErrorArgument> errorArguments; /** The error id (e.g. 'manifest-missing-suitable-icon'). */ public String getErrorId() { return errorId; } /** The error id (e.g. 'manifest-missing-suitable-icon'). */ public void setErrorId(String errorId) { this.errorId = errorId; } /** The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'}). */ public List<InstallabilityErrorArgument> getErrorArguments() { return errorArguments; } /** The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'}). */ public void setErrorArguments(List<InstallabilityErrorArgument> errorArguments) { this.errorArguments = errorArguments; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/InstallabilityErrorArgument.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; @Experimental public class InstallabilityErrorArgument { private String name; private String value; /** Argument name (e.g. name:'minimum-icon-size-in-pixels'). */ public String getName() { return name; } /** Argument name (e.g. name:'minimum-icon-size-in-pixels'). */ public void setName(String name) { this.name = name; } /** Argument value (e.g. value:'64'). */ public String getValue() { return value; } /** Argument value (e.g. value:'64'). */ public void setValue(String value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/LayoutMetrics.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.types.dom.Rect; public class LayoutMetrics { @Deprecated private LayoutViewport layoutViewport; @Deprecated private VisualViewport visualViewport; @Deprecated private Rect contentSize; private LayoutViewport cssLayoutViewport; private VisualViewport cssVisualViewport; private Rect cssContentSize; /** * Deprecated metrics relating to the layout viewport. Is in device pixels. Use * `cssLayoutViewport` instead. */ public LayoutViewport getLayoutViewport() { return layoutViewport; } /** * Deprecated metrics relating to the layout viewport. Is in device pixels. Use * `cssLayoutViewport` instead. */ public void setLayoutViewport(LayoutViewport layoutViewport) { this.layoutViewport = layoutViewport; } /** * Deprecated metrics relating to the visual viewport. Is in device pixels. Use * `cssVisualViewport` instead. */ public VisualViewport getVisualViewport() { return visualViewport; } /** * Deprecated metrics relating to the visual viewport. Is in device pixels. Use * `cssVisualViewport` instead. */ public void setVisualViewport(VisualViewport visualViewport) { this.visualViewport = visualViewport; } /** Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead. */ public Rect getContentSize() { return contentSize; } /** Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead. */ public void setContentSize(Rect contentSize) { this.contentSize = contentSize; } /** Metrics relating to the layout viewport in CSS pixels. */ public LayoutViewport getCssLayoutViewport() { return cssLayoutViewport; } /** Metrics relating to the layout viewport in CSS pixels. */ public void setCssLayoutViewport(LayoutViewport cssLayoutViewport) { this.cssLayoutViewport = cssLayoutViewport; } /** Metrics relating to the visual viewport in CSS pixels. */ public VisualViewport getCssVisualViewport() { return cssVisualViewport; } /** Metrics relating to the visual viewport in CSS pixels. */ public void setCssVisualViewport(VisualViewport cssVisualViewport) { this.cssVisualViewport = cssVisualViewport; } /** Size of scrollable area in CSS pixels. */ public Rect getCssContentSize() { return cssContentSize; } /** Size of scrollable area in CSS pixels. */ public void setCssContentSize(Rect cssContentSize) { this.cssContentSize = cssContentSize; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/LayoutViewport.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Layout viewport position and dimensions. */ public class LayoutViewport { private Integer pageX; private Integer pageY; private Integer clientWidth; private Integer clientHeight; /** Horizontal offset relative to the document (CSS pixels). */ public Integer getPageX() { return pageX; } /** Horizontal offset relative to the document (CSS pixels). */ public void setPageX(Integer pageX) { this.pageX = pageX; } /** Vertical offset relative to the document (CSS pixels). */ public Integer getPageY() { return pageY; } /** Vertical offset relative to the document (CSS pixels). */ public void setPageY(Integer pageY) { this.pageY = pageY; } /** Width (CSS pixels), excludes scrollbar if present. */ public Integer getClientWidth() { return clientWidth; } /** Width (CSS pixels), excludes scrollbar if present. */ public void setClientWidth(Integer clientWidth) { this.clientWidth = clientWidth; } /** Height (CSS pixels), excludes scrollbar if present. */ public Integer getClientHeight() { return clientHeight; } /** Height (CSS pixels), excludes scrollbar if present. */ public void setClientHeight(Integer clientHeight) { this.clientHeight = clientHeight; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/Navigate.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class Navigate { private String frameId; @Optional private String loaderId; @Optional private String errorText; /** Frame id that has navigated (or failed to navigate) */ public String getFrameId() { return frameId; } /** Frame id that has navigated (or failed to navigate) */ public void setFrameId(String frameId) { this.frameId = frameId; } /** * Loader identifier. This is omitted in case of same-document navigation, as the previously * committed loaderId would not change. */ public String getLoaderId() { return loaderId; } /** * Loader identifier. This is omitted in case of same-document navigation, as the previously * committed loaderId would not change. */ public void setLoaderId(String loaderId) { this.loaderId = loaderId; } /** User friendly error message, present if and only if navigation has failed. */ public String getErrorText() { return errorText; } /** User friendly error message, present if and only if navigation has failed. */ public void setErrorText(String errorText) { this.errorText = errorText; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/NavigationEntry.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Navigation history entry. */ public class NavigationEntry { private Integer id; private String url; private String userTypedURL; private String title; private TransitionType transitionType; /** Unique id of the navigation history entry. */ public Integer getId() { return id; } /** Unique id of the navigation history entry. */ public void setId(Integer id) { this.id = id; } /** URL of the navigation history entry. */ public String getUrl() { return url; } /** URL of the navigation history entry. */ public void setUrl(String url) { this.url = url; } /** URL that the user typed in the url bar. */ public String getUserTypedURL() { return userTypedURL; } /** URL that the user typed in the url bar. */ public void setUserTypedURL(String userTypedURL) { this.userTypedURL = userTypedURL; } /** Title of the navigation history entry. */ public String getTitle() { return title; } /** Title of the navigation history entry. */ public void setTitle(String title) { this.title = title; } /** Transition type. */ public TransitionType getTransitionType() { return transitionType; } /** Transition type. */ public void setTransitionType(TransitionType transitionType) { this.transitionType = transitionType; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/NavigationHistory.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; public class NavigationHistory { private Integer currentIndex; private List<NavigationEntry> entries; /** Index of the current navigation history entry. */ public Integer getCurrentIndex() { return currentIndex; } /** Index of the current navigation history entry. */ public void setCurrentIndex(Integer currentIndex) { this.currentIndex = currentIndex; } /** Array of navigation history entries. */ public List<NavigationEntry> getEntries() { return entries; } /** Array of navigation history entries. */ public void setEntries(List<NavigationEntry> entries) { this.entries = entries; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/NavigationType.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The type of a frameNavigated event. */ public enum NavigationType { @JsonProperty("Navigation") NAVIGATION, @JsonProperty("BackForwardCacheRestore") BACK_FORWARD_CACHE_RESTORE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/OriginTrial.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import java.util.List; @Experimental public class OriginTrial { private String trialName; private OriginTrialStatus status; private List<OriginTrialTokenWithStatus> tokensWithStatus; public String getTrialName() { return trialName; } public void setTrialName(String trialName) { this.trialName = trialName; } public OriginTrialStatus getStatus() { return status; } public void setStatus(OriginTrialStatus status) { this.status = status; } public List<OriginTrialTokenWithStatus> getTokensWithStatus() { return tokensWithStatus; } public void setTokensWithStatus(List<OriginTrialTokenWithStatus> tokensWithStatus) { this.tokensWithStatus = tokensWithStatus; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/OriginTrialStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Status for an Origin Trial. */ public enum OriginTrialStatus { @JsonProperty("Enabled") ENABLED, @JsonProperty("ValidTokenNotProvided") VALID_TOKEN_NOT_PROVIDED, @JsonProperty("OSNotSupported") OS_NOT_SUPPORTED, @JsonProperty("TrialNotAllowed") TRIAL_NOT_ALLOWED }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/OriginTrialToken.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; @Experimental public class OriginTrialToken { private String origin; private Boolean matchSubDomains; private String trialName; private Double expiryTime; private Boolean isThirdParty; private OriginTrialUsageRestriction usageRestriction; public String getOrigin() { return origin; } public void setOrigin(String origin) { this.origin = origin; } public Boolean getMatchSubDomains() { return matchSubDomains; } public void setMatchSubDomains(Boolean matchSubDomains) { this.matchSubDomains = matchSubDomains; } public String getTrialName() { return trialName; } public void setTrialName(String trialName) { this.trialName = trialName; } public Double getExpiryTime() { return expiryTime; } public void setExpiryTime(Double expiryTime) { this.expiryTime = expiryTime; } public Boolean getIsThirdParty() { return isThirdParty; } public void setIsThirdParty(Boolean isThirdParty) { this.isThirdParty = isThirdParty; } public OriginTrialUsageRestriction getUsageRestriction() { return usageRestriction; } public void setUsageRestriction(OriginTrialUsageRestriction usageRestriction) { this.usageRestriction = usageRestriction; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/OriginTrialTokenStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Origin Trial(https://www.chromium.org/blink/origin-trials) support. Status for an Origin Trial * token. */ public enum OriginTrialTokenStatus { @JsonProperty("Success") SUCCESS, @JsonProperty("NotSupported") NOT_SUPPORTED, @JsonProperty("Insecure") INSECURE, @JsonProperty("Expired") EXPIRED, @JsonProperty("WrongOrigin") WRONG_ORIGIN, @JsonProperty("InvalidSignature") INVALID_SIGNATURE, @JsonProperty("Malformed") MALFORMED, @JsonProperty("WrongVersion") WRONG_VERSION, @JsonProperty("FeatureDisabled") FEATURE_DISABLED, @JsonProperty("TokenDisabled") TOKEN_DISABLED, @JsonProperty("FeatureDisabledForUser") FEATURE_DISABLED_FOR_USER, @JsonProperty("UnknownTrial") UNKNOWN_TRIAL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/OriginTrialTokenWithStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class OriginTrialTokenWithStatus { private String rawTokenText; @Optional private OriginTrialToken parsedToken; private OriginTrialTokenStatus status; public String getRawTokenText() { return rawTokenText; } public void setRawTokenText(String rawTokenText) { this.rawTokenText = rawTokenText; } /** `parsedToken` is present only when the token is extractable and parsable. */ public OriginTrialToken getParsedToken() { return parsedToken; } /** `parsedToken` is present only when the token is extractable and parsable. */ public void setParsedToken(OriginTrialToken parsedToken) { this.parsedToken = parsedToken; } public OriginTrialTokenStatus getStatus() { return status; } public void setStatus(OriginTrialTokenStatus status) { this.status = status; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/OriginTrialUsageRestriction.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum OriginTrialUsageRestriction { @JsonProperty("None") NONE, @JsonProperty("Subset") SUBSET }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/PermissionsPolicyBlockLocator.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; @Experimental public class PermissionsPolicyBlockLocator { private String frameId; private PermissionsPolicyBlockReason blockReason; public String getFrameId() { return frameId; } public void setFrameId(String frameId) { this.frameId = frameId; } public PermissionsPolicyBlockReason getBlockReason() { return blockReason; } public void setBlockReason(PermissionsPolicyBlockReason blockReason) { this.blockReason = blockReason; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/PermissionsPolicyBlockReason.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Reason for a permissions policy feature to be disabled. */ public enum PermissionsPolicyBlockReason { @JsonProperty("Header") HEADER, @JsonProperty("IframeAttribute") IFRAME_ATTRIBUTE, @JsonProperty("InFencedFrameTree") IN_FENCED_FRAME_TREE, @JsonProperty("InIsolatedApp") IN_ISOLATED_APP }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/PermissionsPolicyFeature.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * All Permissions Policy features. This enum should match the one defined in * third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5. */ public enum PermissionsPolicyFeature { @JsonProperty("accelerometer") ACCELEROMETER, @JsonProperty("ambient-light-sensor") AMBIENT_LIGHT_SENSOR, @JsonProperty("attribution-reporting") ATTRIBUTION_REPORTING, @JsonProperty("autoplay") AUTOPLAY, @JsonProperty("bluetooth") BLUETOOTH, @JsonProperty("browsing-topics") BROWSING_TOPICS, @JsonProperty("camera") CAMERA, @JsonProperty("ch-dpr") CH_DPR, @JsonProperty("ch-device-memory") CH_DEVICE_MEMORY, @JsonProperty("ch-downlink") CH_DOWNLINK, @JsonProperty("ch-ect") CH_ECT, @JsonProperty("ch-prefers-color-scheme") CH_PREFERS_COLOR_SCHEME, @JsonProperty("ch-prefers-reduced-motion") CH_PREFERS_REDUCED_MOTION, @JsonProperty("ch-rtt") CH_RTT, @JsonProperty("ch-save-data") CH_SAVE_DATA, @JsonProperty("ch-ua") CH_UA, @JsonProperty("ch-ua-arch") CH_UA_ARCH, @JsonProperty("ch-ua-bitness") CH_UA_BITNESS, @JsonProperty("ch-ua-platform") CH_UA_PLATFORM, @JsonProperty("ch-ua-model") CH_UA_MODEL, @JsonProperty("ch-ua-mobile") CH_UA_MOBILE, @JsonProperty("ch-ua-form-factor") CH_UA_FORM_FACTOR, @JsonProperty("ch-ua-full-version") CH_UA_FULL_VERSION, @JsonProperty("ch-ua-full-version-list") CH_UA_FULL_VERSION_LIST, @JsonProperty("ch-ua-platform-version") CH_UA_PLATFORM_VERSION, @JsonProperty("ch-ua-wow64") CH_UA_WOW_64, @JsonProperty("ch-viewport-height") CH_VIEWPORT_HEIGHT, @JsonProperty("ch-viewport-width") CH_VIEWPORT_WIDTH, @JsonProperty("ch-width") CH_WIDTH, @JsonProperty("clipboard-read") CLIPBOARD_READ, @JsonProperty("clipboard-write") CLIPBOARD_WRITE, @JsonProperty("compute-pressure") COMPUTE_PRESSURE, @JsonProperty("cross-origin-isolated") CROSS_ORIGIN_ISOLATED, @JsonProperty("direct-sockets") DIRECT_SOCKETS, @JsonProperty("display-capture") DISPLAY_CAPTURE, @JsonProperty("document-domain") DOCUMENT_DOMAIN, @JsonProperty("encrypted-media") ENCRYPTED_MEDIA, @JsonProperty("execution-while-out-of-viewport") EXECUTION_WHILE_OUT_OF_VIEWPORT, @JsonProperty("execution-while-not-rendered") EXECUTION_WHILE_NOT_RENDERED, @JsonProperty("focus-without-user-activation") FOCUS_WITHOUT_USER_ACTIVATION, @JsonProperty("fullscreen") FULLSCREEN, @JsonProperty("frobulate") FROBULATE, @JsonProperty("gamepad") GAMEPAD, @JsonProperty("geolocation") GEOLOCATION, @JsonProperty("gyroscope") GYROSCOPE, @JsonProperty("hid") HID, @JsonProperty("identity-credentials-get") IDENTITY_CREDENTIALS_GET, @JsonProperty("idle-detection") IDLE_DETECTION, @JsonProperty("interest-cohort") INTEREST_COHORT, @JsonProperty("join-ad-interest-group") JOIN_AD_INTEREST_GROUP, @JsonProperty("keyboard-map") KEYBOARD_MAP, @JsonProperty("local-fonts") LOCAL_FONTS, @JsonProperty("magnetometer") MAGNETOMETER, @JsonProperty("microphone") MICROPHONE, @JsonProperty("midi") MIDI, @JsonProperty("otp-credentials") OTP_CREDENTIALS, @JsonProperty("payment") PAYMENT, @JsonProperty("picture-in-picture") PICTURE_IN_PICTURE, @JsonProperty("private-aggregation") PRIVATE_AGGREGATION, @JsonProperty("private-state-token-issuance") PRIVATE_STATE_TOKEN_ISSUANCE, @JsonProperty("private-state-token-redemption") PRIVATE_STATE_TOKEN_REDEMPTION, @JsonProperty("publickey-credentials-get") PUBLICKEY_CREDENTIALS_GET, @JsonProperty("run-ad-auction") RUN_AD_AUCTION, @JsonProperty("screen-wake-lock") SCREEN_WAKE_LOCK, @JsonProperty("serial") SERIAL, @JsonProperty("shared-autofill") SHARED_AUTOFILL, @JsonProperty("shared-storage") SHARED_STORAGE, @JsonProperty("shared-storage-select-url") SHARED_STORAGE_SELECT_URL, @JsonProperty("smart-card") SMART_CARD, @JsonProperty("storage-access") STORAGE_ACCESS, @JsonProperty("sync-xhr") SYNC_XHR, @JsonProperty("unload") UNLOAD, @JsonProperty("usb") USB, @JsonProperty("vertical-scroll") VERTICAL_SCROLL, @JsonProperty("web-share") WEB_SHARE, @JsonProperty("window-management") WINDOW_MANAGEMENT, @JsonProperty("window-placement") WINDOW_PLACEMENT, @JsonProperty("xr-spatial-tracking") XR_SPATIAL_TRACKING }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/PermissionsPolicyFeatureState.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class PermissionsPolicyFeatureState { private PermissionsPolicyFeature feature; private Boolean allowed; @Optional private PermissionsPolicyBlockLocator locator; public PermissionsPolicyFeature getFeature() { return feature; } public void setFeature(PermissionsPolicyFeature feature) { this.feature = feature; } public Boolean getAllowed() { return allowed; } public void setAllowed(Boolean allowed) { this.allowed = allowed; } public PermissionsPolicyBlockLocator getLocator() { return locator; } public void setLocator(PermissionsPolicyBlockLocator locator) { this.locator = locator; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/PrintToPDF.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class PrintToPDF { private String data; @Experimental @Optional private String stream; /** * Base64-encoded pdf data. Empty if |returnAsStream| is specified. (Encoded as a base64 string * when passed over JSON) */ public String getData() { return data; } /** * Base64-encoded pdf data. Empty if |returnAsStream| is specified. (Encoded as a base64 string * when passed over JSON) */ public void setData(String data) { this.data = data; } /** A handle of the stream that holds resulting PDF data. */ public String getStream() { return stream; } /** A handle of the stream that holds resulting PDF data. */ public void setStream(String stream) { this.stream = stream; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/PrintToPDFTransferMode.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** return as stream */ public enum PrintToPDFTransferMode { @JsonProperty("ReturnAsBase64") RETURN_AS_BASE_64, @JsonProperty("ReturnAsStream") RETURN_AS_STREAM }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/ReferrerPolicy.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The referring-policy used for the navigation. */ public enum ReferrerPolicy { @JsonProperty("noReferrer") NO_REFERRER, @JsonProperty("noReferrerWhenDowngrade") NO_REFERRER_WHEN_DOWNGRADE, @JsonProperty("origin") ORIGIN, @JsonProperty("originWhenCrossOrigin") ORIGIN_WHEN_CROSS_ORIGIN, @JsonProperty("sameOrigin") SAME_ORIGIN, @JsonProperty("strictOrigin") STRICT_ORIGIN, @JsonProperty("strictOriginWhenCrossOrigin") STRICT_ORIGIN_WHEN_CROSS_ORIGIN, @JsonProperty("unsafeUrl") UNSAFE_URL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/ResourceContent.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class ResourceContent { private String content; private Boolean base64Encoded; /** Resource content. */ public String getContent() { return content; } /** Resource content. */ public void setContent(String content) { this.content = content; } /** True, if content was served as base64. */ public Boolean getBase64Encoded() { return base64Encoded; } /** True, if content was served as base64. */ public void setBase64Encoded(Boolean base64Encoded) { this.base64Encoded = base64Encoded; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/ScreencastFrameMetadata.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Screencast frame metadata. */ @Experimental public class ScreencastFrameMetadata { private Double offsetTop; private Double pageScaleFactor; private Double deviceWidth; private Double deviceHeight; private Double scrollOffsetX; private Double scrollOffsetY; @Optional private Double timestamp; /** Top offset in DIP. */ public Double getOffsetTop() { return offsetTop; } /** Top offset in DIP. */ public void setOffsetTop(Double offsetTop) { this.offsetTop = offsetTop; } /** Page scale factor. */ public Double getPageScaleFactor() { return pageScaleFactor; } /** Page scale factor. */ public void setPageScaleFactor(Double pageScaleFactor) { this.pageScaleFactor = pageScaleFactor; } /** Device screen width in DIP. */ public Double getDeviceWidth() { return deviceWidth; } /** Device screen width in DIP. */ public void setDeviceWidth(Double deviceWidth) { this.deviceWidth = deviceWidth; } /** Device screen height in DIP. */ public Double getDeviceHeight() { return deviceHeight; } /** Device screen height in DIP. */ public void setDeviceHeight(Double deviceHeight) { this.deviceHeight = deviceHeight; } /** Position of horizontal scroll in CSS pixels. */ public Double getScrollOffsetX() { return scrollOffsetX; } /** Position of horizontal scroll in CSS pixels. */ public void setScrollOffsetX(Double scrollOffsetX) { this.scrollOffsetX = scrollOffsetX; } /** Position of vertical scroll in CSS pixels. */ public Double getScrollOffsetY() { return scrollOffsetY; } /** Position of vertical scroll in CSS pixels. */ public void setScrollOffsetY(Double scrollOffsetY) { this.scrollOffsetY = scrollOffsetY; } /** Frame swap timestamp. */ public Double getTimestamp() { return timestamp; } /** Frame swap timestamp. */ public void setTimestamp(Double timestamp) { this.timestamp = timestamp; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/ScriptFontFamilies.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; /** Font families collection for a script. */ @Experimental public class ScriptFontFamilies { private String script; private FontFamilies fontFamilies; /** Name of the script which these font families are defined for. */ public String getScript() { return script; } /** Name of the script which these font families are defined for. */ public void setScript(String script) { this.script = script; } /** Generic font families collection for the script. */ public FontFamilies getFontFamilies() { return fontFamilies; } /** Generic font families collection for the script. */ public void setFontFamilies(FontFamilies fontFamilies) { this.fontFamilies = fontFamilies; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/SecureContextType.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Indicates whether the frame is a secure context and why it is the case. */ public enum SecureContextType { @JsonProperty("Secure") SECURE, @JsonProperty("SecureLocalhost") SECURE_LOCALHOST, @JsonProperty("InsecureScheme") INSECURE_SCHEME, @JsonProperty("InsecureAncestor") INSECURE_ANCESTOR }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/SetDownloadBehaviorBehavior.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Whether to allow all or deny all download requests, or use default Chrome behavior if available * (otherwise deny). */ public enum SetDownloadBehaviorBehavior { @JsonProperty("deny") DENY, @JsonProperty("allow") ALLOW, @JsonProperty("default") DEFAULT }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/SetWebLifecycleStateState.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Target lifecycle state */ public enum SetWebLifecycleStateState { @JsonProperty("frozen") FROZEN, @JsonProperty("active") ACTIVE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/StartScreencastFormat.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Image compression format. */ public enum StartScreencastFormat { @JsonProperty("jpeg") JPEG, @JsonProperty("png") PNG }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/TransitionType.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Transition type. */ public enum TransitionType { @JsonProperty("link") LINK, @JsonProperty("typed") TYPED, @JsonProperty("address_bar") ADDRESS_BAR, @JsonProperty("auto_bookmark") AUTO_BOOKMARK, @JsonProperty("auto_subframe") AUTO_SUBFRAME, @JsonProperty("manual_subframe") MANUAL_SUBFRAME, @JsonProperty("generated") GENERATED, @JsonProperty("auto_toplevel") AUTO_TOPLEVEL, @JsonProperty("form_submit") FORM_SUBMIT, @JsonProperty("reload") RELOAD, @JsonProperty("keyword") KEYWORD, @JsonProperty("keyword_generated") KEYWORD_GENERATED, @JsonProperty("other") OTHER }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/Viewport.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Viewport for capturing screenshot. */ public class Viewport { private Double x; private Double y; private Double width; private Double height; private Double scale; /** X offset in device independent pixels (dip). */ public Double getX() { return x; } /** X offset in device independent pixels (dip). */ public void setX(Double x) { this.x = x; } /** Y offset in device independent pixels (dip). */ public Double getY() { return y; } /** Y offset in device independent pixels (dip). */ public void setY(Double y) { this.y = y; } /** Rectangle width in device independent pixels (dip). */ public Double getWidth() { return width; } /** Rectangle width in device independent pixels (dip). */ public void setWidth(Double width) { this.width = width; } /** Rectangle height in device independent pixels (dip). */ public Double getHeight() { return height; } /** Rectangle height in device independent pixels (dip). */ public void setHeight(Double height) { this.height = height; } /** Page scale factor. */ public Double getScale() { return scale; } /** Page scale factor. */ public void setScale(Double scale) { this.scale = scale; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/VisualViewport.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Visual viewport position, dimensions, and scale. */ public class VisualViewport { private Double offsetX; private Double offsetY; private Double pageX; private Double pageY; private Double clientWidth; private Double clientHeight; private Double scale; @Optional private Double zoom; /** Horizontal offset relative to the layout viewport (CSS pixels). */ public Double getOffsetX() { return offsetX; } /** Horizontal offset relative to the layout viewport (CSS pixels). */ public void setOffsetX(Double offsetX) { this.offsetX = offsetX; } /** Vertical offset relative to the layout viewport (CSS pixels). */ public Double getOffsetY() { return offsetY; } /** Vertical offset relative to the layout viewport (CSS pixels). */ public void setOffsetY(Double offsetY) { this.offsetY = offsetY; } /** Horizontal offset relative to the document (CSS pixels). */ public Double getPageX() { return pageX; } /** Horizontal offset relative to the document (CSS pixels). */ public void setPageX(Double pageX) { this.pageX = pageX; } /** Vertical offset relative to the document (CSS pixels). */ public Double getPageY() { return pageY; } /** Vertical offset relative to the document (CSS pixels). */ public void setPageY(Double pageY) { this.pageY = pageY; } /** Width (CSS pixels), excludes scrollbar if present. */ public Double getClientWidth() { return clientWidth; } /** Width (CSS pixels), excludes scrollbar if present. */ public void setClientWidth(Double clientWidth) { this.clientWidth = clientWidth; } /** Height (CSS pixels), excludes scrollbar if present. */ public Double getClientHeight() { return clientHeight; } /** Height (CSS pixels), excludes scrollbar if present. */ public void setClientHeight(Double clientHeight) { this.clientHeight = clientHeight; } /** Scale relative to the ideal viewport (size at width=device-width). */ public Double getScale() { return scale; } /** Scale relative to the ideal viewport (size at width=device-width). */ public void setScale(Double scale) { this.scale = scale; } /** Page zoom factor (CSS to device independent pixels ratio). */ public Double getZoom() { return zoom; } /** Page zoom factor (CSS to device independent pixels ratio). */ public void setZoom(Double zoom) { this.zoom = zoom; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/performance/EnableTimeDomain.java
package com.github.kklisura.cdt.protocol.v2023.types.performance; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Time domain to use for collecting and reporting duration metrics. */ public enum EnableTimeDomain { @JsonProperty("timeTicks") TIME_TICKS, @JsonProperty("threadTicks") THREAD_TICKS }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/performance/Metric.java
package com.github.kklisura.cdt.protocol.v2023.types.performance; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Run-time execution metric. */ public class Metric { private String name; private Double value; /** Metric name. */ public String getName() { return name; } /** Metric name. */ public void setName(String name) { this.name = name; } /** Metric value. */ public Double getValue() { return value; } /** Metric value. */ public void setValue(Double value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/performance/SetTimeDomainTimeDomain.java
package com.github.kklisura.cdt.protocol.v2023.types.performance; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Time domain */ public enum SetTimeDomainTimeDomain { @JsonProperty("timeTicks") TIME_TICKS, @JsonProperty("threadTicks") THREAD_TICKS }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/performancetimeline/LargestContentfulPaint.java
package com.github.kklisura.cdt.protocol.v2023.types.performancetimeline; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl */ public class LargestContentfulPaint { private Double renderTime; private Double loadTime; private Double size; @Optional private String elementId; @Optional private String url; @Optional private Integer nodeId; public Double getRenderTime() { return renderTime; } public void setRenderTime(Double renderTime) { this.renderTime = renderTime; } public Double getLoadTime() { return loadTime; } public void setLoadTime(Double loadTime) { this.loadTime = loadTime; } /** The number of pixels being painted. */ public Double getSize() { return size; } /** The number of pixels being painted. */ public void setSize(Double size) { this.size = size; } /** The id attribute of the element, if available. */ public String getElementId() { return elementId; } /** The id attribute of the element, if available. */ public void setElementId(String elementId) { this.elementId = elementId; } /** The URL of the image (may be trimmed). */ public String getUrl() { return url; } /** The URL of the image (may be trimmed). */ public void setUrl(String url) { this.url = url; } public Integer getNodeId() { return nodeId; } public void setNodeId(Integer nodeId) { this.nodeId = nodeId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/performancetimeline/LayoutShift.java
package com.github.kklisura.cdt.protocol.v2023.types.performancetimeline; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.idl */ public class LayoutShift { private Double value; private Boolean hadRecentInput; private Double lastInputTime; private List<LayoutShiftAttribution> sources; /** Score increment produced by this event. */ public Double getValue() { return value; } /** Score increment produced by this event. */ public void setValue(Double value) { this.value = value; } public Boolean getHadRecentInput() { return hadRecentInput; } public void setHadRecentInput(Boolean hadRecentInput) { this.hadRecentInput = hadRecentInput; } public Double getLastInputTime() { return lastInputTime; } public void setLastInputTime(Double lastInputTime) { this.lastInputTime = lastInputTime; } public List<LayoutShiftAttribution> getSources() { return sources; } public void setSources(List<LayoutShiftAttribution> sources) { this.sources = sources; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/performancetimeline/LayoutShiftAttribution.java
package com.github.kklisura.cdt.protocol.v2023.types.performancetimeline; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.Rect; public class LayoutShiftAttribution { private Rect previousRect; private Rect currentRect; @Optional private Integer nodeId; public Rect getPreviousRect() { return previousRect; } public void setPreviousRect(Rect previousRect) { this.previousRect = previousRect; } public Rect getCurrentRect() { return currentRect; } public void setCurrentRect(Rect currentRect) { this.currentRect = currentRect; } public Integer getNodeId() { return nodeId; } public void setNodeId(Integer nodeId) { this.nodeId = nodeId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/performancetimeline/TimelineEvent.java
package com.github.kklisura.cdt.protocol.v2023.types.performancetimeline; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class TimelineEvent { private String frameId; private String type; private String name; private Double time; @Optional private Double duration; @Optional private LargestContentfulPaint lcpDetails; @Optional private LayoutShift layoutShiftDetails; /** Identifies the frame that this event is related to. Empty for non-frame targets. */ public String getFrameId() { return frameId; } /** Identifies the frame that this event is related to. Empty for non-frame targets. */ public void setFrameId(String frameId) { this.frameId = frameId; } /** * The event type, as specified in * https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines * which of the optional "details" fiedls is present. */ public String getType() { return type; } /** * The event type, as specified in * https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines * which of the optional "details" fiedls is present. */ public void setType(String type) { this.type = type; } /** Name may be empty depending on the type. */ public String getName() { return name; } /** Name may be empty depending on the type. */ public void setName(String name) { this.name = name; } /** Time in seconds since Epoch, monotonically increasing within document lifetime. */ public Double getTime() { return time; } /** Time in seconds since Epoch, monotonically increasing within document lifetime. */ public void setTime(Double time) { this.time = time; } /** Event duration, if applicable. */ public Double getDuration() { return duration; } /** Event duration, if applicable. */ public void setDuration(Double duration) { this.duration = duration; } public LargestContentfulPaint getLcpDetails() { return lcpDetails; } public void setLcpDetails(LargestContentfulPaint lcpDetails) { this.lcpDetails = lcpDetails; } public LayoutShift getLayoutShiftDetails() { return layoutShiftDetails; } public void setLayoutShiftDetails(LayoutShift layoutShiftDetails) { this.layoutShiftDetails = layoutShiftDetails; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/preload/PrefetchStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.preload; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and filter out the ones that * aren't necessary to the developers. */ public enum PrefetchStatus { @JsonProperty("PrefetchAllowed") PREFETCH_ALLOWED, @JsonProperty("PrefetchFailedIneligibleRedirect") PREFETCH_FAILED_INELIGIBLE_REDIRECT, @JsonProperty("PrefetchFailedInvalidRedirect") PREFETCH_FAILED_INVALID_REDIRECT, @JsonProperty("PrefetchFailedMIMENotSupported") PREFETCH_FAILED_MIME_NOT_SUPPORTED, @JsonProperty("PrefetchFailedNetError") PREFETCH_FAILED_NET_ERROR, @JsonProperty("PrefetchFailedNon2XX") PREFETCH_FAILED_NON_2XX, @JsonProperty("PrefetchFailedPerPageLimitExceeded") PREFETCH_FAILED_PER_PAGE_LIMIT_EXCEEDED, @JsonProperty("PrefetchEvicted") PREFETCH_EVICTED, @JsonProperty("PrefetchHeldback") PREFETCH_HELDBACK, @JsonProperty("PrefetchIneligibleRetryAfter") PREFETCH_INELIGIBLE_RETRY_AFTER, @JsonProperty("PrefetchIsPrivacyDecoy") PREFETCH_IS_PRIVACY_DECOY, @JsonProperty("PrefetchIsStale") PREFETCH_IS_STALE, @JsonProperty("PrefetchNotEligibleBrowserContextOffTheRecord") PREFETCH_NOT_ELIGIBLE_BROWSER_CONTEXT_OFF_THE_RECORD, @JsonProperty("PrefetchNotEligibleDataSaverEnabled") PREFETCH_NOT_ELIGIBLE_DATA_SAVER_ENABLED, @JsonProperty("PrefetchNotEligibleExistingProxy") PREFETCH_NOT_ELIGIBLE_EXISTING_PROXY, @JsonProperty("PrefetchNotEligibleHostIsNonUnique") PREFETCH_NOT_ELIGIBLE_HOST_IS_NON_UNIQUE, @JsonProperty("PrefetchNotEligibleNonDefaultStoragePartition") PREFETCH_NOT_ELIGIBLE_NON_DEFAULT_STORAGE_PARTITION, @JsonProperty("PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy") PREFETCH_NOT_ELIGIBLE_SAME_SITE_CROSS_ORIGIN_PREFETCH_REQUIRED_PROXY, @JsonProperty("PrefetchNotEligibleSchemeIsNotHttps") PREFETCH_NOT_ELIGIBLE_SCHEME_IS_NOT_HTTPS, @JsonProperty("PrefetchNotEligibleUserHasCookies") PREFETCH_NOT_ELIGIBLE_USER_HAS_COOKIES, @JsonProperty("PrefetchNotEligibleUserHasServiceWorker") PREFETCH_NOT_ELIGIBLE_USER_HAS_SERVICE_WORKER, @JsonProperty("PrefetchNotEligibleBatterySaverEnabled") PREFETCH_NOT_ELIGIBLE_BATTERY_SAVER_ENABLED, @JsonProperty("PrefetchNotEligiblePreloadingDisabled") PREFETCH_NOT_ELIGIBLE_PRELOADING_DISABLED, @JsonProperty("PrefetchNotFinishedInTime") PREFETCH_NOT_FINISHED_IN_TIME, @JsonProperty("PrefetchNotStarted") PREFETCH_NOT_STARTED, @JsonProperty("PrefetchNotUsedCookiesChanged") PREFETCH_NOT_USED_COOKIES_CHANGED, @JsonProperty("PrefetchProxyNotAvailable") PREFETCH_PROXY_NOT_AVAILABLE, @JsonProperty("PrefetchResponseUsed") PREFETCH_RESPONSE_USED, @JsonProperty("PrefetchSuccessfulButNotUsed") PREFETCH_SUCCESSFUL_BUT_NOT_USED, @JsonProperty("PrefetchNotUsedProbeFailed") PREFETCH_NOT_USED_PROBE_FAILED }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/preload/PreloadingAttemptKey.java
package com.github.kklisura.cdt.protocol.v2023.types.preload; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** * A key that identifies a preloading attempt. * * <p>The url used is the url specified by the trigger (i.e. the initial URL), and not the final url * that is navigated to. For example, prerendering allows same-origin main frame navigations during * the attempt, but the attempt is still keyed with the initial URL. */ public class PreloadingAttemptKey { private String loaderId; private SpeculationAction action; private String url; @Optional private SpeculationTargetHint targetHint; public String getLoaderId() { return loaderId; } public void setLoaderId(String loaderId) { this.loaderId = loaderId; } public SpeculationAction getAction() { return action; } public void setAction(SpeculationAction action) { this.action = action; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public SpeculationTargetHint getTargetHint() { return targetHint; } public void setTargetHint(SpeculationTargetHint targetHint) { this.targetHint = targetHint; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/preload/PreloadingAttemptSource.java
package com.github.kklisura.cdt.protocol.v2023.types.preload; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** * Lists sources for a preloading attempt, specifically the ids of rule sets that had a speculation * rule that triggered the attempt, and the BackendNodeIds of <a href> or <area href> elements that * triggered the attempt (in the case of attempts triggered by a document rule). It is possible for * mulitple rule sets and links to trigger a single attempt. */ public class PreloadingAttemptSource { private PreloadingAttemptKey key; private List<String> ruleSetIds; private List<Integer> nodeIds; public PreloadingAttemptKey getKey() { return key; } public void setKey(PreloadingAttemptKey key) { this.key = key; } public List<String> getRuleSetIds() { return ruleSetIds; } public void setRuleSetIds(List<String> ruleSetIds) { this.ruleSetIds = ruleSetIds; } public List<Integer> getNodeIds() { return nodeIds; } public void setNodeIds(List<Integer> nodeIds) { this.nodeIds = nodeIds; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/preload/PreloadingStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.preload; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Preloading status values, see also PreloadingTriggeringOutcome. This status is shared by * prefetchStatusUpdated and prerenderStatusUpdated. */ public enum PreloadingStatus { @JsonProperty("Pending") PENDING, @JsonProperty("Running") RUNNING, @JsonProperty("Ready") READY, @JsonProperty("Success") SUCCESS, @JsonProperty("Failure") FAILURE, @JsonProperty("NotSupported") NOT_SUPPORTED }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/preload/PrerenderFinalStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.preload; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** List of FinalStatus reasons for Prerender2. */ public enum PrerenderFinalStatus { @JsonProperty("Activated") ACTIVATED, @JsonProperty("Destroyed") DESTROYED, @JsonProperty("LowEndDevice") LOW_END_DEVICE, @JsonProperty("InvalidSchemeRedirect") INVALID_SCHEME_REDIRECT, @JsonProperty("InvalidSchemeNavigation") INVALID_SCHEME_NAVIGATION, @JsonProperty("InProgressNavigation") IN_PROGRESS_NAVIGATION, @JsonProperty("NavigationRequestBlockedByCsp") NAVIGATION_REQUEST_BLOCKED_BY_CSP, @JsonProperty("MainFrameNavigation") MAIN_FRAME_NAVIGATION, @JsonProperty("MojoBinderPolicy") MOJO_BINDER_POLICY, @JsonProperty("RendererProcessCrashed") RENDERER_PROCESS_CRASHED, @JsonProperty("RendererProcessKilled") RENDERER_PROCESS_KILLED, @JsonProperty("Download") DOWNLOAD, @JsonProperty("TriggerDestroyed") TRIGGER_DESTROYED, @JsonProperty("NavigationNotCommitted") NAVIGATION_NOT_COMMITTED, @JsonProperty("NavigationBadHttpStatus") NAVIGATION_BAD_HTTP_STATUS, @JsonProperty("ClientCertRequested") CLIENT_CERT_REQUESTED, @JsonProperty("NavigationRequestNetworkError") NAVIGATION_REQUEST_NETWORK_ERROR, @JsonProperty("MaxNumOfRunningPrerendersExceeded") MAX_NUM_OF_RUNNING_PRERENDERS_EXCEEDED, @JsonProperty("CancelAllHostsForTesting") CANCEL_ALL_HOSTS_FOR_TESTING, @JsonProperty("DidFailLoad") DID_FAIL_LOAD, @JsonProperty("Stop") STOP, @JsonProperty("SslCertificateError") SSL_CERTIFICATE_ERROR, @JsonProperty("LoginAuthRequested") LOGIN_AUTH_REQUESTED, @JsonProperty("UaChangeRequiresReload") UA_CHANGE_REQUIRES_RELOAD, @JsonProperty("BlockedByClient") BLOCKED_BY_CLIENT, @JsonProperty("AudioOutputDeviceRequested") AUDIO_OUTPUT_DEVICE_REQUESTED, @JsonProperty("MixedContent") MIXED_CONTENT, @JsonProperty("TriggerBackgrounded") TRIGGER_BACKGROUNDED, @JsonProperty("MemoryLimitExceeded") MEMORY_LIMIT_EXCEEDED, @JsonProperty("FailToGetMemoryUsage") FAIL_TO_GET_MEMORY_USAGE, @JsonProperty("DataSaverEnabled") DATA_SAVER_ENABLED, @JsonProperty("HasEffectiveUrl") HAS_EFFECTIVE_URL, @JsonProperty("ActivatedBeforeStarted") ACTIVATED_BEFORE_STARTED, @JsonProperty("InactivePageRestriction") INACTIVE_PAGE_RESTRICTION, @JsonProperty("StartFailed") START_FAILED, @JsonProperty("TimeoutBackgrounded") TIMEOUT_BACKGROUNDED, @JsonProperty("CrossSiteRedirectInInitialNavigation") CROSS_SITE_REDIRECT_IN_INITIAL_NAVIGATION, @JsonProperty("CrossSiteNavigationInInitialNavigation") CROSS_SITE_NAVIGATION_IN_INITIAL_NAVIGATION, @JsonProperty("SameSiteCrossOriginRedirectNotOptInInInitialNavigation") SAME_SITE_CROSS_ORIGIN_REDIRECT_NOT_OPT_IN_IN_INITIAL_NAVIGATION, @JsonProperty("SameSiteCrossOriginNavigationNotOptInInInitialNavigation") SAME_SITE_CROSS_ORIGIN_NAVIGATION_NOT_OPT_IN_IN_INITIAL_NAVIGATION, @JsonProperty("ActivationNavigationParameterMismatch") ACTIVATION_NAVIGATION_PARAMETER_MISMATCH, @JsonProperty("ActivatedInBackground") ACTIVATED_IN_BACKGROUND, @JsonProperty("EmbedderHostDisallowed") EMBEDDER_HOST_DISALLOWED, @JsonProperty("ActivationNavigationDestroyedBeforeSuccess") ACTIVATION_NAVIGATION_DESTROYED_BEFORE_SUCCESS, @JsonProperty("TabClosedByUserGesture") TAB_CLOSED_BY_USER_GESTURE, @JsonProperty("TabClosedWithoutUserGesture") TAB_CLOSED_WITHOUT_USER_GESTURE, @JsonProperty("PrimaryMainFrameRendererProcessCrashed") PRIMARY_MAIN_FRAME_RENDERER_PROCESS_CRASHED, @JsonProperty("PrimaryMainFrameRendererProcessKilled") PRIMARY_MAIN_FRAME_RENDERER_PROCESS_KILLED, @JsonProperty("ActivationFramePolicyNotCompatible") ACTIVATION_FRAME_POLICY_NOT_COMPATIBLE, @JsonProperty("PreloadingDisabled") PRELOADING_DISABLED, @JsonProperty("BatterySaverEnabled") BATTERY_SAVER_ENABLED, @JsonProperty("ActivatedDuringMainFrameNavigation") ACTIVATED_DURING_MAIN_FRAME_NAVIGATION, @JsonProperty("PreloadingUnsupportedByWebContents") PRELOADING_UNSUPPORTED_BY_WEB_CONTENTS, @JsonProperty("CrossSiteRedirectInMainFrameNavigation") CROSS_SITE_REDIRECT_IN_MAIN_FRAME_NAVIGATION, @JsonProperty("CrossSiteNavigationInMainFrameNavigation") CROSS_SITE_NAVIGATION_IN_MAIN_FRAME_NAVIGATION, @JsonProperty("SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation") SAME_SITE_CROSS_ORIGIN_REDIRECT_NOT_OPT_IN_IN_MAIN_FRAME_NAVIGATION, @JsonProperty("SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation") SAME_SITE_CROSS_ORIGIN_NAVIGATION_NOT_OPT_IN_IN_MAIN_FRAME_NAVIGATION, @JsonProperty("MemoryPressureOnTrigger") MEMORY_PRESSURE_ON_TRIGGER, @JsonProperty("MemoryPressureAfterTriggered") MEMORY_PRESSURE_AFTER_TRIGGERED, @JsonProperty("PrerenderingDisabledByDevTools") PRERENDERING_DISABLED_BY_DEV_TOOLS, @JsonProperty("ResourceLoadBlockedByClient") RESOURCE_LOAD_BLOCKED_BY_CLIENT, @JsonProperty("SpeculationRuleRemoved") SPECULATION_RULE_REMOVED, @JsonProperty("ActivatedWithAuxiliaryBrowsingContexts") ACTIVATED_WITH_AUXILIARY_BROWSING_CONTEXTS }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/preload/RuleSet.java
package com.github.kklisura.cdt.protocol.v2023.types.preload; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Corresponds to SpeculationRuleSet */ public class RuleSet { private String id; private String loaderId; private String sourceText; @Optional private Integer backendNodeId; @Optional private String url; @Optional private String requestId; @Optional private RuleSetErrorType errorType; @Deprecated @Optional private String errorMessage; public String getId() { return id; } public void setId(String id) { this.id = id; } /** Identifies a document which the rule set is associated with. */ public String getLoaderId() { return loaderId; } /** Identifies a document which the rule set is associated with. */ public void setLoaderId(String loaderId) { this.loaderId = loaderId; } /** * Source text of JSON representing the rule set. If it comes from `<script>` tag, it is the * textContent of the node. Note that it is a JSON for valid case. * * <p>See also: - https://wicg.github.io/nav-speculation/speculation-rules.html - * https://github.com/WICG/nav-speculation/blob/main/triggers.md */ public String getSourceText() { return sourceText; } /** * Source text of JSON representing the rule set. If it comes from `<script>` tag, it is the * textContent of the node. Note that it is a JSON for valid case. * * <p>See also: - https://wicg.github.io/nav-speculation/speculation-rules.html - * https://github.com/WICG/nav-speculation/blob/main/triggers.md */ public void setSourceText(String sourceText) { this.sourceText = sourceText; } /** * A speculation rule set is either added through an inline `<script>` tag or through an external * resource via the 'Speculation-Rules' HTTP header. For the first case, we include the * BackendNodeId of the relevant `<script>` tag. For the second case, we include the external URL * where the rule set was loaded from, and also RequestId if Network domain is enabled. * * <p>See also: - * https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script - * https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header */ public Integer getBackendNodeId() { return backendNodeId; } /** * A speculation rule set is either added through an inline `<script>` tag or through an external * resource via the 'Speculation-Rules' HTTP header. For the first case, we include the * BackendNodeId of the relevant `<script>` tag. For the second case, we include the external URL * where the rule set was loaded from, and also RequestId if Network domain is enabled. * * <p>See also: - * https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script - * https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header */ public void setBackendNodeId(Integer backendNodeId) { this.backendNodeId = backendNodeId; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getRequestId() { return requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } /** Error information `errorMessage` is null iff `errorType` is null. */ public RuleSetErrorType getErrorType() { return errorType; } /** Error information `errorMessage` is null iff `errorType` is null. */ public void setErrorType(RuleSetErrorType errorType) { this.errorType = errorType; } /** TODO(https://crbug.com/1425354): Replace this property with structured error. */ public String getErrorMessage() { return errorMessage; } /** TODO(https://crbug.com/1425354): Replace this property with structured error. */ public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/preload/RuleSetErrorType.java
package com.github.kklisura.cdt.protocol.v2023.types.preload; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum RuleSetErrorType { @JsonProperty("SourceIsNotJsonObject") SOURCE_IS_NOT_JSON_OBJECT, @JsonProperty("InvalidRulesSkipped") INVALID_RULES_SKIPPED }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/preload/SpeculationAction.java
package com.github.kklisura.cdt.protocol.v2023.types.preload; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * The type of preloading attempted. It corresponds to mojom::SpeculationAction (although * PrefetchWithSubresources is omitted as it isn't being used by clients). */ public enum SpeculationAction { @JsonProperty("Prefetch") PREFETCH, @JsonProperty("Prerender") PRERENDER }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/preload/SpeculationTargetHint.java
package com.github.kklisura.cdt.protocol.v2023.types.preload; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Corresponds to mojom::SpeculationTargetHint. See * https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints */ public enum SpeculationTargetHint { @JsonProperty("Blank") BLANK, @JsonProperty("Self") SELF }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/profiler/CoverageRange.java
package com.github.kklisura.cdt.protocol.v2023.types.profiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Coverage data for a source range. */ public class CoverageRange { private Integer startOffset; private Integer endOffset; private Integer count; /** JavaScript script source offset for the range start. */ public Integer getStartOffset() { return startOffset; } /** JavaScript script source offset for the range start. */ public void setStartOffset(Integer startOffset) { this.startOffset = startOffset; } /** JavaScript script source offset for the range end. */ public Integer getEndOffset() { return endOffset; } /** JavaScript script source offset for the range end. */ public void setEndOffset(Integer endOffset) { this.endOffset = endOffset; } /** Collected execution count of the source range. */ public Integer getCount() { return count; } /** Collected execution count of the source range. */ public void setCount(Integer count) { this.count = count; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/profiler/FunctionCoverage.java
package com.github.kklisura.cdt.protocol.v2023.types.profiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** Coverage data for a JavaScript function. */ public class FunctionCoverage { private String functionName; private List<CoverageRange> ranges; private Boolean isBlockCoverage; /** JavaScript function name. */ public String getFunctionName() { return functionName; } /** JavaScript function name. */ public void setFunctionName(String functionName) { this.functionName = functionName; } /** Source ranges inside the function with coverage data. */ public List<CoverageRange> getRanges() { return ranges; } /** Source ranges inside the function with coverage data. */ public void setRanges(List<CoverageRange> ranges) { this.ranges = ranges; } /** Whether coverage data for this function has block granularity. */ public Boolean getIsBlockCoverage() { return isBlockCoverage; } /** Whether coverage data for this function has block granularity. */ public void setIsBlockCoverage(Boolean isBlockCoverage) { this.isBlockCoverage = isBlockCoverage; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/profiler/PositionTickInfo.java
package com.github.kklisura.cdt.protocol.v2023.types.profiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Specifies a number of samples attributed to a certain source position. */ public class PositionTickInfo { private Integer line; private Integer ticks; /** Source line number (1-based). */ public Integer getLine() { return line; } /** Source line number (1-based). */ public void setLine(Integer line) { this.line = line; } /** Number of samples attributed to the source line. */ public Integer getTicks() { return ticks; } /** Number of samples attributed to the source line. */ public void setTicks(Integer ticks) { this.ticks = ticks; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/profiler/Profile.java
package com.github.kklisura.cdt.protocol.v2023.types.profiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Profile. */ public class Profile { private List<ProfileNode> nodes; private Double startTime; private Double endTime; @Optional private List<Integer> samples; @Optional private List<Integer> timeDeltas; /** The list of profile nodes. First item is the root node. */ public List<ProfileNode> getNodes() { return nodes; } /** The list of profile nodes. First item is the root node. */ public void setNodes(List<ProfileNode> nodes) { this.nodes = nodes; } /** Profiling start timestamp in microseconds. */ public Double getStartTime() { return startTime; } /** Profiling start timestamp in microseconds. */ public void setStartTime(Double startTime) { this.startTime = startTime; } /** Profiling end timestamp in microseconds. */ public Double getEndTime() { return endTime; } /** Profiling end timestamp in microseconds. */ public void setEndTime(Double endTime) { this.endTime = endTime; } /** Ids of samples top nodes. */ public List<Integer> getSamples() { return samples; } /** Ids of samples top nodes. */ public void setSamples(List<Integer> samples) { this.samples = samples; } /** * Time intervals between adjacent samples in microseconds. The first delta is relative to the * profile startTime. */ public List<Integer> getTimeDeltas() { return timeDeltas; } /** * Time intervals between adjacent samples in microseconds. The first delta is relative to the * profile startTime. */ public void setTimeDeltas(List<Integer> timeDeltas) { this.timeDeltas = timeDeltas; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/profiler/ProfileNode.java
package com.github.kklisura.cdt.protocol.v2023.types.profiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.runtime.CallFrame; import java.util.List; /** Profile node. Holds callsite information, execution statistics and child nodes. */ public class ProfileNode { private Integer id; private CallFrame callFrame; @Optional private Integer hitCount; @Optional private List<Integer> children; @Optional private String deoptReason; @Optional private List<PositionTickInfo> positionTicks; /** Unique id of the node. */ public Integer getId() { return id; } /** Unique id of the node. */ public void setId(Integer id) { this.id = id; } /** Function location. */ public CallFrame getCallFrame() { return callFrame; } /** Function location. */ public void setCallFrame(CallFrame callFrame) { this.callFrame = callFrame; } /** Number of samples where this node was on top of the call stack. */ public Integer getHitCount() { return hitCount; } /** Number of samples where this node was on top of the call stack. */ public void setHitCount(Integer hitCount) { this.hitCount = hitCount; } /** Child node ids. */ public List<Integer> getChildren() { return children; } /** Child node ids. */ public void setChildren(List<Integer> children) { this.children = children; } /** * The reason of being not optimized. The function may be deoptimized or marked as don't optimize. */ public String getDeoptReason() { return deoptReason; } /** * The reason of being not optimized. The function may be deoptimized or marked as don't optimize. */ public void setDeoptReason(String deoptReason) { this.deoptReason = deoptReason; } /** An array of source position ticks. */ public List<PositionTickInfo> getPositionTicks() { return positionTicks; } /** An array of source position ticks. */ public void setPositionTicks(List<PositionTickInfo> positionTicks) { this.positionTicks = positionTicks; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/profiler/ScriptCoverage.java
package com.github.kklisura.cdt.protocol.v2023.types.profiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** Coverage data for a JavaScript script. */ public class ScriptCoverage { private String scriptId; private String url; private List<FunctionCoverage> functions; /** JavaScript script id. */ public String getScriptId() { return scriptId; } /** JavaScript script id. */ public void setScriptId(String scriptId) { this.scriptId = scriptId; } /** JavaScript script name or url. */ public String getUrl() { return url; } /** JavaScript script name or url. */ public void setUrl(String url) { this.url = url; } /** Functions contained in the script that has coverage data. */ public List<FunctionCoverage> getFunctions() { return functions; } /** Functions contained in the script that has coverage data. */ public void setFunctions(List<FunctionCoverage> functions) { this.functions = functions; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/profiler/TakePreciseCoverage.java
package com.github.kklisura.cdt.protocol.v2023.types.profiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; public class TakePreciseCoverage { private List<ScriptCoverage> result; private Double timestamp; /** Coverage data for the current isolate. */ public List<ScriptCoverage> getResult() { return result; } /** Coverage data for the current isolate. */ public void setResult(List<ScriptCoverage> result) { this.result = result; } /** * Monotonically increasing time (in seconds) when the coverage update was taken in the backend. */ public Double getTimestamp() { return timestamp; } /** * Monotonically increasing time (in seconds) when the coverage update was taken in the backend. */ public void setTimestamp(Double timestamp) { this.timestamp = timestamp; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/AwaitPromise.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class AwaitPromise { private RemoteObject result; @Optional private ExceptionDetails exceptionDetails; /** Promise result. Will contain rejected value if promise was rejected. */ public RemoteObject getResult() { return result; } /** Promise result. Will contain rejected value if promise was rejected. */ public void setResult(RemoteObject result) { this.result = result; } /** Exception details if stack strace is available. */ public ExceptionDetails getExceptionDetails() { return exceptionDetails; } /** Exception details if stack strace is available. */ public void setExceptionDetails(ExceptionDetails exceptionDetails) { this.exceptionDetails = exceptionDetails; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/CallArgument.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** * Represents function call argument. Either remote object id `objectId`, primitive `value`, * unserializable primitive value or neither of (for undefined) them should be specified. */ public class CallArgument { @Optional private Object value; @Optional private String unserializableValue; @Optional private String objectId; /** Primitive value or serializable javascript object. */ public Object getValue() { return value; } /** Primitive value or serializable javascript object. */ public void setValue(Object value) { this.value = value; } /** Primitive value which can not be JSON-stringified. */ public String getUnserializableValue() { return unserializableValue; } /** Primitive value which can not be JSON-stringified. */ public void setUnserializableValue(String unserializableValue) { this.unserializableValue = unserializableValue; } /** Remote object handle. */ public String getObjectId() { return objectId; } /** Remote object handle. */ public void setObjectId(String objectId) { this.objectId = objectId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/CallFrame.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Stack entry for runtime errors and assertions. */ public class CallFrame { private String functionName; private String scriptId; private String url; private Integer lineNumber; private Integer columnNumber; /** JavaScript function name. */ public String getFunctionName() { return functionName; } /** JavaScript function name. */ public void setFunctionName(String functionName) { this.functionName = functionName; } /** JavaScript script id. */ public String getScriptId() { return scriptId; } /** JavaScript script id. */ public void setScriptId(String scriptId) { this.scriptId = scriptId; } /** JavaScript script name or url. */ public String getUrl() { return url; } /** JavaScript script name or url. */ public void setUrl(String url) { this.url = url; } /** JavaScript script line number (0-based). */ public Integer getLineNumber() { return lineNumber; } /** JavaScript script line number (0-based). */ public void setLineNumber(Integer lineNumber) { this.lineNumber = lineNumber; } /** JavaScript script column number (0-based). */ public Integer getColumnNumber() { return columnNumber; } /** JavaScript script column number (0-based). */ public void setColumnNumber(Integer columnNumber) { this.columnNumber = columnNumber; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/CallFunctionOn.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class CallFunctionOn { private RemoteObject result; @Optional private ExceptionDetails exceptionDetails; /** Call result. */ public RemoteObject getResult() { return result; } /** Call result. */ public void setResult(RemoteObject result) { this.result = result; } /** Exception details. */ public ExceptionDetails getExceptionDetails() { return exceptionDetails; } /** Exception details. */ public void setExceptionDetails(ExceptionDetails exceptionDetails) { this.exceptionDetails = exceptionDetails; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/CompileScript.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class CompileScript { @Optional private String scriptId; @Optional private ExceptionDetails exceptionDetails; /** Id of the script. */ public String getScriptId() { return scriptId; } /** Id of the script. */ public void setScriptId(String scriptId) { this.scriptId = scriptId; } /** Exception details. */ public ExceptionDetails getExceptionDetails() { return exceptionDetails; } /** Exception details. */ public void setExceptionDetails(ExceptionDetails exceptionDetails) { this.exceptionDetails = exceptionDetails; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/CustomPreview.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class CustomPreview { private String header; @Optional private String bodyGetterId; /** * The JSON-stringified result of formatter.header(object, config) call. It contains json ML array * that represents RemoteObject. */ public String getHeader() { return header; } /** * The JSON-stringified result of formatter.header(object, config) call. It contains json ML array * that represents RemoteObject. */ public void setHeader(String header) { this.header = header; } /** * If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain * RemoteObjectId for the function that returns result of formatter.body(object, config) call. The * result value is json ML array. */ public String getBodyGetterId() { return bodyGetterId; } /** * If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain * RemoteObjectId for the function that returns result of formatter.body(object, config) call. The * result value is json ML array. */ public void setBodyGetterId(String bodyGetterId) { this.bodyGetterId = bodyGetterId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/DeepSerializedValue.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Represents deep serialized value. */ public class DeepSerializedValue { private DeepSerializedValueType type; @Optional private Object value; @Optional private String objectId; @Optional private Integer weakLocalObjectReference; public DeepSerializedValueType getType() { return type; } public void setType(DeepSerializedValueType type) { this.type = type; } public Object getValue() { return value; } public void setValue(Object value) { this.value = value; } public String getObjectId() { return objectId; } public void setObjectId(String objectId) { this.objectId = objectId; } /** * Set if value reference met more then once during serialization. In such case, value is provided * only to one of the serialized values. Unique per value in the scope of one CDP call. */ public Integer getWeakLocalObjectReference() { return weakLocalObjectReference; } /** * Set if value reference met more then once during serialization. In such case, value is provided * only to one of the serialized values. Unique per value in the scope of one CDP call. */ public void setWeakLocalObjectReference(Integer weakLocalObjectReference) { this.weakLocalObjectReference = weakLocalObjectReference; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/DeepSerializedValueType.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum DeepSerializedValueType { @JsonProperty("undefined") UNDEFINED, @JsonProperty("null") NULL, @JsonProperty("string") STRING, @JsonProperty("number") NUMBER, @JsonProperty("boolean") BOOLEAN, @JsonProperty("bigint") BIGINT, @JsonProperty("regexp") REGEXP, @JsonProperty("date") DATE, @JsonProperty("symbol") SYMBOL, @JsonProperty("array") ARRAY, @JsonProperty("object") OBJECT, @JsonProperty("function") FUNCTION, @JsonProperty("map") MAP, @JsonProperty("set") SET, @JsonProperty("weakmap") WEAKMAP, @JsonProperty("weakset") WEAKSET, @JsonProperty("error") ERROR, @JsonProperty("proxy") PROXY, @JsonProperty("promise") PROMISE, @JsonProperty("typedarray") TYPEDARRAY, @JsonProperty("arraybuffer") ARRAYBUFFER, @JsonProperty("node") NODE, @JsonProperty("window") WINDOW }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/EntryPreview.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class EntryPreview { @Optional private ObjectPreview key; private ObjectPreview value; /** Preview of the key. Specified for map-like collection entries. */ public ObjectPreview getKey() { return key; } /** Preview of the key. Specified for map-like collection entries. */ public void setKey(ObjectPreview key) { this.key = key; } /** Preview of the value. */ public ObjectPreview getValue() { return value; } /** Preview of the value. */ public void setValue(ObjectPreview value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/Evaluate.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class Evaluate { private RemoteObject result; @Optional private ExceptionDetails exceptionDetails; /** Evaluation result. */ public RemoteObject getResult() { return result; } /** Evaluation result. */ public void setResult(RemoteObject result) { this.result = result; } /** Exception details. */ public ExceptionDetails getExceptionDetails() { return exceptionDetails; } /** Exception details. */ public void setExceptionDetails(ExceptionDetails exceptionDetails) { this.exceptionDetails = exceptionDetails; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/ExceptionDetails.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.Map; /** * Detailed information about exception (or error) that was thrown during script compilation or * execution. */ public class ExceptionDetails { private Integer exceptionId; private String text; private Integer lineNumber; private Integer columnNumber; @Optional private String scriptId; @Optional private String url; @Optional private StackTrace stackTrace; @Optional private RemoteObject exception; @Optional private Integer executionContextId; @Experimental @Optional private Map<String, Object> exceptionMetaData; /** Exception id. */ public Integer getExceptionId() { return exceptionId; } /** Exception id. */ public void setExceptionId(Integer exceptionId) { this.exceptionId = exceptionId; } /** Exception text, which should be used together with exception object when available. */ public String getText() { return text; } /** Exception text, which should be used together with exception object when available. */ public void setText(String text) { this.text = text; } /** Line number of the exception location (0-based). */ public Integer getLineNumber() { return lineNumber; } /** Line number of the exception location (0-based). */ public void setLineNumber(Integer lineNumber) { this.lineNumber = lineNumber; } /** Column number of the exception location (0-based). */ public Integer getColumnNumber() { return columnNumber; } /** Column number of the exception location (0-based). */ public void setColumnNumber(Integer columnNumber) { this.columnNumber = columnNumber; } /** Script ID of the exception location. */ public String getScriptId() { return scriptId; } /** Script ID of the exception location. */ public void setScriptId(String scriptId) { this.scriptId = scriptId; } /** URL of the exception location, to be used when the script was not reported. */ public String getUrl() { return url; } /** URL of the exception location, to be used when the script was not reported. */ public void setUrl(String url) { this.url = url; } /** JavaScript stack trace if available. */ public StackTrace getStackTrace() { return stackTrace; } /** JavaScript stack trace if available. */ public void setStackTrace(StackTrace stackTrace) { this.stackTrace = stackTrace; } /** Exception object if available. */ public RemoteObject getException() { return exception; } /** Exception object if available. */ public void setException(RemoteObject exception) { this.exception = exception; } /** Identifier of the context where exception happened. */ public Integer getExecutionContextId() { return executionContextId; } /** Identifier of the context where exception happened. */ public void setExecutionContextId(Integer executionContextId) { this.executionContextId = executionContextId; } /** * Dictionary with entries of meta data that the client associated with this exception, such as * information about associated network requests, etc. */ public Map<String, Object> getExceptionMetaData() { return exceptionMetaData; } /** * Dictionary with entries of meta data that the client associated with this exception, such as * information about associated network requests, etc. */ public void setExceptionMetaData(Map<String, Object> exceptionMetaData) { this.exceptionMetaData = exceptionMetaData; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/ExecutionContextDescription.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.Map; /** Description of an isolated world. */ public class ExecutionContextDescription { private Integer id; private String origin; private String name; @Experimental private String uniqueId; @Optional private Map<String, Object> auxData; /** * Unique id of the execution context. It can be used to specify in which execution context script * evaluation should be performed. */ public Integer getId() { return id; } /** * Unique id of the execution context. It can be used to specify in which execution context script * evaluation should be performed. */ public void setId(Integer id) { this.id = id; } /** Execution context origin. */ public String getOrigin() { return origin; } /** Execution context origin. */ public void setOrigin(String origin) { this.origin = origin; } /** Human readable name describing given context. */ public String getName() { return name; } /** Human readable name describing given context. */ public void setName(String name) { this.name = name; } /** * A system-unique execution context identifier. Unlike the id, this is unique across multiple * processes, so can be reliably used to identify specific context while backend performs a * cross-process navigation. */ public String getUniqueId() { return uniqueId; } /** * A system-unique execution context identifier. Unlike the id, this is unique across multiple * processes, so can be reliably used to identify specific context while backend performs a * cross-process navigation. */ public void setUniqueId(String uniqueId) { this.uniqueId = uniqueId; } /** * Embedder-specific auxiliary data likely matching {isDefault: boolean, type: * 'default'|'isolated'|'worker', frameId: string} */ public Map<String, Object> getAuxData() { return auxData; } /** * Embedder-specific auxiliary data likely matching {isDefault: boolean, type: * 'default'|'isolated'|'worker', frameId: string} */ public void setAuxData(Map<String, Object> auxData) { this.auxData = auxData; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/HeapUsage.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class HeapUsage { private Double usedSize; private Double totalSize; /** Used heap size in bytes. */ public Double getUsedSize() { return usedSize; } /** Used heap size in bytes. */ public void setUsedSize(Double usedSize) { this.usedSize = usedSize; } /** Allocated heap size in bytes. */ public Double getTotalSize() { return totalSize; } /** Allocated heap size in bytes. */ public void setTotalSize(Double totalSize) { this.totalSize = totalSize; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/InternalPropertyDescriptor.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Object internal property descriptor. This property isn't normally visible in JavaScript code. */ public class InternalPropertyDescriptor { private String name; @Optional private RemoteObject value; /** Conventional property name. */ public String getName() { return name; } /** Conventional property name. */ public void setName(String name) { this.name = name; } /** The value associated with the property. */ public RemoteObject getValue() { return value; } /** The value associated with the property. */ public void setValue(RemoteObject value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/ObjectPreview.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Object containing abbreviated remote object value. */ @Experimental public class ObjectPreview { private ObjectPreviewType type; @Optional private ObjectPreviewSubtype subtype; @Optional private String description; private Boolean overflow; private List<PropertyPreview> properties; @Optional private List<EntryPreview> entries; /** Object type. */ public ObjectPreviewType getType() { return type; } /** Object type. */ public void setType(ObjectPreviewType type) { this.type = type; } /** Object subtype hint. Specified for `object` type values only. */ public ObjectPreviewSubtype getSubtype() { return subtype; } /** Object subtype hint. Specified for `object` type values only. */ public void setSubtype(ObjectPreviewSubtype subtype) { this.subtype = subtype; } /** String representation of the object. */ public String getDescription() { return description; } /** String representation of the object. */ public void setDescription(String description) { this.description = description; } /** True iff some of the properties or entries of the original object did not fit. */ public Boolean getOverflow() { return overflow; } /** True iff some of the properties or entries of the original object did not fit. */ public void setOverflow(Boolean overflow) { this.overflow = overflow; } /** List of the properties. */ public List<PropertyPreview> getProperties() { return properties; } /** List of the properties. */ public void setProperties(List<PropertyPreview> properties) { this.properties = properties; } /** List of the entries. Specified for `map` and `set` subtype values only. */ public List<EntryPreview> getEntries() { return entries; } /** List of the entries. Specified for `map` and `set` subtype values only. */ public void setEntries(List<EntryPreview> entries) { this.entries = entries; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/ObjectPreviewSubtype.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Object subtype hint. Specified for `object` type values only. */ public enum ObjectPreviewSubtype { @JsonProperty("array") ARRAY, @JsonProperty("null") NULL, @JsonProperty("node") NODE, @JsonProperty("regexp") REGEXP, @JsonProperty("date") DATE, @JsonProperty("map") MAP, @JsonProperty("set") SET, @JsonProperty("weakmap") WEAKMAP, @JsonProperty("weakset") WEAKSET, @JsonProperty("iterator") ITERATOR, @JsonProperty("generator") GENERATOR, @JsonProperty("error") ERROR, @JsonProperty("proxy") PROXY, @JsonProperty("promise") PROMISE, @JsonProperty("typedarray") TYPEDARRAY, @JsonProperty("arraybuffer") ARRAYBUFFER, @JsonProperty("dataview") DATAVIEW, @JsonProperty("webassemblymemory") WEBASSEMBLYMEMORY, @JsonProperty("wasmvalue") WASMVALUE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/ObjectPreviewType.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Object type. */ public enum ObjectPreviewType { @JsonProperty("object") OBJECT, @JsonProperty("function") FUNCTION, @JsonProperty("undefined") UNDEFINED, @JsonProperty("string") STRING, @JsonProperty("number") NUMBER, @JsonProperty("boolean") BOOLEAN, @JsonProperty("symbol") SYMBOL, @JsonProperty("bigint") BIGINT }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/PrivatePropertyDescriptor.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Object private field descriptor. */ @Experimental public class PrivatePropertyDescriptor { private String name; @Optional private RemoteObject value; @Optional private RemoteObject get; @Optional private RemoteObject set; /** Private property name. */ public String getName() { return name; } /** Private property name. */ public void setName(String name) { this.name = name; } /** The value associated with the private property. */ public RemoteObject getValue() { return value; } /** The value associated with the private property. */ public void setValue(RemoteObject value) { this.value = value; } /** * A function which serves as a getter for the private property, or `undefined` if there is no * getter (accessor descriptors only). */ public RemoteObject getGet() { return get; } /** * A function which serves as a getter for the private property, or `undefined` if there is no * getter (accessor descriptors only). */ public void setGet(RemoteObject get) { this.get = get; } /** * A function which serves as a setter for the private property, or `undefined` if there is no * setter (accessor descriptors only). */ public RemoteObject getSet() { return set; } /** * A function which serves as a setter for the private property, or `undefined` if there is no * setter (accessor descriptors only). */ public void setSet(RemoteObject set) { this.set = set; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/Properties.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; public class Properties { private List<PropertyDescriptor> result; @Optional private List<InternalPropertyDescriptor> internalProperties; @Experimental @Optional private List<PrivatePropertyDescriptor> privateProperties; @Optional private ExceptionDetails exceptionDetails; /** Object properties. */ public List<PropertyDescriptor> getResult() { return result; } /** Object properties. */ public void setResult(List<PropertyDescriptor> result) { this.result = result; } /** Internal object properties (only of the element itself). */ public List<InternalPropertyDescriptor> getInternalProperties() { return internalProperties; } /** Internal object properties (only of the element itself). */ public void setInternalProperties(List<InternalPropertyDescriptor> internalProperties) { this.internalProperties = internalProperties; } /** Object private properties. */ public List<PrivatePropertyDescriptor> getPrivateProperties() { return privateProperties; } /** Object private properties. */ public void setPrivateProperties(List<PrivatePropertyDescriptor> privateProperties) { this.privateProperties = privateProperties; } /** Exception details. */ public ExceptionDetails getExceptionDetails() { return exceptionDetails; } /** Exception details. */ public void setExceptionDetails(ExceptionDetails exceptionDetails) { this.exceptionDetails = exceptionDetails; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/PropertyDescriptor.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Object property descriptor. */ public class PropertyDescriptor { private String name; @Optional private RemoteObject value; @Optional private Boolean writable; @Optional private RemoteObject get; @Optional private RemoteObject set; private Boolean configurable; private Boolean enumerable; @Optional private Boolean wasThrown; @Optional private Boolean isOwn; @Optional private RemoteObject symbol; /** Property name or symbol description. */ public String getName() { return name; } /** Property name or symbol description. */ public void setName(String name) { this.name = name; } /** The value associated with the property. */ public RemoteObject getValue() { return value; } /** The value associated with the property. */ public void setValue(RemoteObject value) { this.value = value; } /** True if the value associated with the property may be changed (data descriptors only). */ public Boolean getWritable() { return writable; } /** True if the value associated with the property may be changed (data descriptors only). */ public void setWritable(Boolean writable) { this.writable = writable; } /** * A function which serves as a getter for the property, or `undefined` if there is no getter * (accessor descriptors only). */ public RemoteObject getGet() { return get; } /** * A function which serves as a getter for the property, or `undefined` if there is no getter * (accessor descriptors only). */ public void setGet(RemoteObject get) { this.get = get; } /** * A function which serves as a setter for the property, or `undefined` if there is no setter * (accessor descriptors only). */ public RemoteObject getSet() { return set; } /** * A function which serves as a setter for the property, or `undefined` if there is no setter * (accessor descriptors only). */ public void setSet(RemoteObject set) { this.set = set; } /** * True if the type of this property descriptor may be changed and if the property may be deleted * from the corresponding object. */ public Boolean getConfigurable() { return configurable; } /** * True if the type of this property descriptor may be changed and if the property may be deleted * from the corresponding object. */ public void setConfigurable(Boolean configurable) { this.configurable = configurable; } /** * True if this property shows up during enumeration of the properties on the corresponding * object. */ public Boolean getEnumerable() { return enumerable; } /** * True if this property shows up during enumeration of the properties on the corresponding * object. */ public void setEnumerable(Boolean enumerable) { this.enumerable = enumerable; } /** True if the result was thrown during the evaluation. */ public Boolean getWasThrown() { return wasThrown; } /** True if the result was thrown during the evaluation. */ public void setWasThrown(Boolean wasThrown) { this.wasThrown = wasThrown; } /** True if the property is owned for the object. */ public Boolean getIsOwn() { return isOwn; } /** True if the property is owned for the object. */ public void setIsOwn(Boolean isOwn) { this.isOwn = isOwn; } /** Property symbol object, if the property is of the `symbol` type. */ public RemoteObject getSymbol() { return symbol; } /** Property symbol object, if the property is of the `symbol` type. */ public void setSymbol(RemoteObject symbol) { this.symbol = symbol; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/PropertyPreview.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class PropertyPreview { private String name; private PropertyPreviewType type; @Optional private String value; @Optional private ObjectPreview valuePreview; @Optional private PropertyPreviewSubtype subtype; /** Property name. */ public String getName() { return name; } /** Property name. */ public void setName(String name) { this.name = name; } /** Object type. Accessor means that the property itself is an accessor property. */ public PropertyPreviewType getType() { return type; } /** Object type. Accessor means that the property itself is an accessor property. */ public void setType(PropertyPreviewType type) { this.type = type; } /** User-friendly property value string. */ public String getValue() { return value; } /** User-friendly property value string. */ public void setValue(String value) { this.value = value; } /** Nested value preview. */ public ObjectPreview getValuePreview() { return valuePreview; } /** Nested value preview. */ public void setValuePreview(ObjectPreview valuePreview) { this.valuePreview = valuePreview; } /** Object subtype hint. Specified for `object` type values only. */ public PropertyPreviewSubtype getSubtype() { return subtype; } /** Object subtype hint. Specified for `object` type values only. */ public void setSubtype(PropertyPreviewSubtype subtype) { this.subtype = subtype; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/PropertyPreviewSubtype.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Object subtype hint. Specified for `object` type values only. */ public enum PropertyPreviewSubtype { @JsonProperty("array") ARRAY, @JsonProperty("null") NULL, @JsonProperty("node") NODE, @JsonProperty("regexp") REGEXP, @JsonProperty("date") DATE, @JsonProperty("map") MAP, @JsonProperty("set") SET, @JsonProperty("weakmap") WEAKMAP, @JsonProperty("weakset") WEAKSET, @JsonProperty("iterator") ITERATOR, @JsonProperty("generator") GENERATOR, @JsonProperty("error") ERROR, @JsonProperty("proxy") PROXY, @JsonProperty("promise") PROMISE, @JsonProperty("typedarray") TYPEDARRAY, @JsonProperty("arraybuffer") ARRAYBUFFER, @JsonProperty("dataview") DATAVIEW, @JsonProperty("webassemblymemory") WEBASSEMBLYMEMORY, @JsonProperty("wasmvalue") WASMVALUE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/PropertyPreviewType.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Object type. Accessor means that the property itself is an accessor property. */ public enum PropertyPreviewType { @JsonProperty("object") OBJECT, @JsonProperty("function") FUNCTION, @JsonProperty("undefined") UNDEFINED, @JsonProperty("string") STRING, @JsonProperty("number") NUMBER, @JsonProperty("boolean") BOOLEAN, @JsonProperty("symbol") SYMBOL, @JsonProperty("accessor") ACCESSOR, @JsonProperty("bigint") BIGINT }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/RemoteObject.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Mirror object referencing original JavaScript object. */ public class RemoteObject { private RemoteObjectType type; @Optional private RemoteObjectSubtype subtype; @Optional private String className; @Optional private Object value; @Optional private String unserializableValue; @Optional private String description; @Deprecated @Optional private DeepSerializedValue webDriverValue; @Experimental @Optional private DeepSerializedValue deepSerializedValue; @Optional private String objectId; @Experimental @Optional private ObjectPreview preview; @Experimental @Optional private CustomPreview customPreview; /** Object type. */ public RemoteObjectType getType() { return type; } /** Object type. */ public void setType(RemoteObjectType type) { this.type = type; } /** * Object subtype hint. Specified for `object` type values only. NOTE: If you change anything * here, make sure to also update `subtype` in `ObjectPreview` and `PropertyPreview` below. */ public RemoteObjectSubtype getSubtype() { return subtype; } /** * Object subtype hint. Specified for `object` type values only. NOTE: If you change anything * here, make sure to also update `subtype` in `ObjectPreview` and `PropertyPreview` below. */ public void setSubtype(RemoteObjectSubtype subtype) { this.subtype = subtype; } /** Object class (constructor) name. Specified for `object` type values only. */ public String getClassName() { return className; } /** Object class (constructor) name. Specified for `object` type values only. */ public void setClassName(String className) { this.className = className; } /** Remote object value in case of primitive values or JSON values (if it was requested). */ public Object getValue() { return value; } /** Remote object value in case of primitive values or JSON values (if it was requested). */ public void setValue(Object value) { this.value = value; } /** * Primitive value which can not be JSON-stringified does not have `value`, but gets this * property. */ public String getUnserializableValue() { return unserializableValue; } /** * Primitive value which can not be JSON-stringified does not have `value`, but gets this * property. */ public void setUnserializableValue(String unserializableValue) { this.unserializableValue = unserializableValue; } /** String representation of the object. */ public String getDescription() { return description; } /** String representation of the object. */ public void setDescription(String description) { this.description = description; } /** Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value. */ public DeepSerializedValue getWebDriverValue() { return webDriverValue; } /** Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value. */ public void setWebDriverValue(DeepSerializedValue webDriverValue) { this.webDriverValue = webDriverValue; } /** Deep serialized value. */ public DeepSerializedValue getDeepSerializedValue() { return deepSerializedValue; } /** Deep serialized value. */ public void setDeepSerializedValue(DeepSerializedValue deepSerializedValue) { this.deepSerializedValue = deepSerializedValue; } /** Unique object identifier (for non-primitive values). */ public String getObjectId() { return objectId; } /** Unique object identifier (for non-primitive values). */ public void setObjectId(String objectId) { this.objectId = objectId; } /** Preview containing abbreviated property values. Specified for `object` type values only. */ public ObjectPreview getPreview() { return preview; } /** Preview containing abbreviated property values. Specified for `object` type values only. */ public void setPreview(ObjectPreview preview) { this.preview = preview; } public CustomPreview getCustomPreview() { return customPreview; } public void setCustomPreview(CustomPreview customPreview) { this.customPreview = customPreview; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/RemoteObjectSubtype.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Object subtype hint. Specified for `object` type values only. NOTE: If you change anything here, * make sure to also update `subtype` in `ObjectPreview` and `PropertyPreview` below. */ public enum RemoteObjectSubtype { @JsonProperty("array") ARRAY, @JsonProperty("null") NULL, @JsonProperty("node") NODE, @JsonProperty("regexp") REGEXP, @JsonProperty("date") DATE, @JsonProperty("map") MAP, @JsonProperty("set") SET, @JsonProperty("weakmap") WEAKMAP, @JsonProperty("weakset") WEAKSET, @JsonProperty("iterator") ITERATOR, @JsonProperty("generator") GENERATOR, @JsonProperty("error") ERROR, @JsonProperty("proxy") PROXY, @JsonProperty("promise") PROMISE, @JsonProperty("typedarray") TYPEDARRAY, @JsonProperty("arraybuffer") ARRAYBUFFER, @JsonProperty("dataview") DATAVIEW, @JsonProperty("webassemblymemory") WEBASSEMBLYMEMORY, @JsonProperty("wasmvalue") WASMVALUE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/RemoteObjectType.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Object type. */ public enum RemoteObjectType { @JsonProperty("object") OBJECT, @JsonProperty("function") FUNCTION, @JsonProperty("undefined") UNDEFINED, @JsonProperty("string") STRING, @JsonProperty("number") NUMBER, @JsonProperty("boolean") BOOLEAN, @JsonProperty("symbol") SYMBOL, @JsonProperty("bigint") BIGINT }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/RunScript.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class RunScript { private RemoteObject result; @Optional private ExceptionDetails exceptionDetails; /** Run result. */ public RemoteObject getResult() { return result; } /** Run result. */ public void setResult(RemoteObject result) { this.result = result; } /** Exception details. */ public ExceptionDetails getExceptionDetails() { return exceptionDetails; } /** Exception details. */ public void setExceptionDetails(ExceptionDetails exceptionDetails) { this.exceptionDetails = exceptionDetails; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/SerializationOptions.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.Map; /** * Represents options for serialization. Overrides `generatePreview`, `returnByValue` and * `generateWebDriverValue`. */ public class SerializationOptions { private SerializationOptionsSerialization serialization; @Optional private Integer maxDepth; @Optional private Map<String, Object> additionalParameters; public SerializationOptionsSerialization getSerialization() { return serialization; } public void setSerialization(SerializationOptionsSerialization serialization) { this.serialization = serialization; } /** * Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode. */ public Integer getMaxDepth() { return maxDepth; } /** * Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode. */ public void setMaxDepth(Integer maxDepth) { this.maxDepth = maxDepth; } /** * Embedder-specific parameters. For example if connected to V8 in Chrome these control DOM * serialization via `maxNodeDepth: integer` and `includeShadowTree: "none" | "open" | "all"`. * Values can be only of type string or integer. */ public Map<String, Object> getAdditionalParameters() { return additionalParameters; } /** * Embedder-specific parameters. For example if connected to V8 in Chrome these control DOM * serialization via `maxNodeDepth: integer` and `includeShadowTree: "none" | "open" | "all"`. * Values can be only of type string or integer. */ public void setAdditionalParameters(Map<String, Object> additionalParameters) { this.additionalParameters = additionalParameters; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/SerializationOptionsSerialization.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum SerializationOptionsSerialization { @JsonProperty("deep") DEEP, @JsonProperty("json") JSON, @JsonProperty("idOnly") ID_ONLY }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/StackTrace.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Call frames for assertions or error messages. */ public class StackTrace { @Optional private String description; private List<CallFrame> callFrames; @Optional private StackTrace parent; @Experimental @Optional private StackTraceId parentId; /** * String label of this stack trace. For async traces this may be a name of the function that * initiated the async call. */ public String getDescription() { return description; } /** * String label of this stack trace. For async traces this may be a name of the function that * initiated the async call. */ public void setDescription(String description) { this.description = description; } /** JavaScript function name. */ public List<CallFrame> getCallFrames() { return callFrames; } /** JavaScript function name. */ public void setCallFrames(List<CallFrame> callFrames) { this.callFrames = callFrames; } /** Asynchronous JavaScript stack trace that preceded this stack, if available. */ public StackTrace getParent() { return parent; } /** Asynchronous JavaScript stack trace that preceded this stack, if available. */ public void setParent(StackTrace parent) { this.parent = parent; } /** Asynchronous JavaScript stack trace that preceded this stack, if available. */ public StackTraceId getParentId() { return parentId; } /** Asynchronous JavaScript stack trace that preceded this stack, if available. */ public void setParentId(StackTraceId parentId) { this.parentId = parentId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/runtime/StackTraceId.java
package com.github.kklisura.cdt.protocol.v2023.types.runtime; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** * If `debuggerId` is set stack trace comes from another debugger and can be resolved there. This * allows to track cross-debugger calls. See `Runtime.StackTrace` and `Debugger.paused` for usages. */ @Experimental public class StackTraceId { private String id; @Optional private String debuggerId; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getDebuggerId() { return debuggerId; } public void setDebuggerId(String debuggerId) { this.debuggerId = debuggerId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/schema/Domain.java
package com.github.kklisura.cdt.protocol.v2023.types.schema; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Description of the protocol domain. */ public class Domain { private String name; private String version; /** Domain name. */ public String getName() { return name; } /** Domain name. */ public void setName(String name) { this.name = name; } /** Domain version. */ public String getVersion() { return version; } /** Domain version. */ public void setVersion(String version) { this.version = version; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/security/CertificateErrorAction.java
package com.github.kklisura.cdt.protocol.v2023.types.security; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * The action to take when a certificate error occurs. continue will continue processing the request * and cancel will cancel the request. */ public enum CertificateErrorAction { @JsonProperty("continue") CONTINUE, @JsonProperty("cancel") CANCEL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/security/CertificateSecurityState.java
package com.github.kklisura.cdt.protocol.v2023.types.security; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Details about the security state of the page certificate. */ @Experimental public class CertificateSecurityState { private String protocol; private String keyExchange; @Optional private String keyExchangeGroup; private String cipher; @Optional private String mac; private List<String> certificate; private String subjectName; private String issuer; private Double validFrom; private Double validTo; @Optional private String certificateNetworkError; private Boolean certificateHasWeakSignature; private Boolean certificateHasSha1Signature; private Boolean modernSSL; private Boolean obsoleteSslProtocol; private Boolean obsoleteSslKeyExchange; private Boolean obsoleteSslCipher; private Boolean obsoleteSslSignature; /** Protocol name (e.g. "TLS 1.2" or "QUIC"). */ public String getProtocol() { return protocol; } /** Protocol name (e.g. "TLS 1.2" or "QUIC"). */ public void setProtocol(String protocol) { this.protocol = protocol; } /** Key Exchange used by the connection, or the empty string if not applicable. */ public String getKeyExchange() { return keyExchange; } /** Key Exchange used by the connection, or the empty string if not applicable. */ public void setKeyExchange(String keyExchange) { this.keyExchange = keyExchange; } /** (EC)DH group used by the connection, if applicable. */ public String getKeyExchangeGroup() { return keyExchangeGroup; } /** (EC)DH group used by the connection, if applicable. */ public void setKeyExchangeGroup(String keyExchangeGroup) { this.keyExchangeGroup = keyExchangeGroup; } /** Cipher name. */ public String getCipher() { return cipher; } /** Cipher name. */ public void setCipher(String cipher) { this.cipher = cipher; } /** TLS MAC. Note that AEAD ciphers do not have separate MACs. */ public String getMac() { return mac; } /** TLS MAC. Note that AEAD ciphers do not have separate MACs. */ public void setMac(String mac) { this.mac = mac; } /** Page certificate. */ public List<String> getCertificate() { return certificate; } /** Page certificate. */ public void setCertificate(List<String> certificate) { this.certificate = certificate; } /** Certificate subject name. */ public String getSubjectName() { return subjectName; } /** Certificate subject name. */ public void setSubjectName(String subjectName) { this.subjectName = subjectName; } /** Name of the issuing CA. */ public String getIssuer() { return issuer; } /** Name of the issuing CA. */ public void setIssuer(String issuer) { this.issuer = issuer; } /** Certificate valid from date. */ public Double getValidFrom() { return validFrom; } /** Certificate valid from date. */ public void setValidFrom(Double validFrom) { this.validFrom = validFrom; } /** Certificate valid to (expiration) date */ public Double getValidTo() { return validTo; } /** Certificate valid to (expiration) date */ public void setValidTo(Double validTo) { this.validTo = validTo; } /** The highest priority network error code, if the certificate has an error. */ public String getCertificateNetworkError() { return certificateNetworkError; } /** The highest priority network error code, if the certificate has an error. */ public void setCertificateNetworkError(String certificateNetworkError) { this.certificateNetworkError = certificateNetworkError; } /** True if the certificate uses a weak signature aglorithm. */ public Boolean getCertificateHasWeakSignature() { return certificateHasWeakSignature; } /** True if the certificate uses a weak signature aglorithm. */ public void setCertificateHasWeakSignature(Boolean certificateHasWeakSignature) { this.certificateHasWeakSignature = certificateHasWeakSignature; } /** True if the certificate has a SHA1 signature in the chain. */ public Boolean getCertificateHasSha1Signature() { return certificateHasSha1Signature; } /** True if the certificate has a SHA1 signature in the chain. */ public void setCertificateHasSha1Signature(Boolean certificateHasSha1Signature) { this.certificateHasSha1Signature = certificateHasSha1Signature; } /** True if modern SSL */ public Boolean getModernSSL() { return modernSSL; } /** True if modern SSL */ public void setModernSSL(Boolean modernSSL) { this.modernSSL = modernSSL; } /** True if the connection is using an obsolete SSL protocol. */ public Boolean getObsoleteSslProtocol() { return obsoleteSslProtocol; } /** True if the connection is using an obsolete SSL protocol. */ public void setObsoleteSslProtocol(Boolean obsoleteSslProtocol) { this.obsoleteSslProtocol = obsoleteSslProtocol; } /** True if the connection is using an obsolete SSL key exchange. */ public Boolean getObsoleteSslKeyExchange() { return obsoleteSslKeyExchange; } /** True if the connection is using an obsolete SSL key exchange. */ public void setObsoleteSslKeyExchange(Boolean obsoleteSslKeyExchange) { this.obsoleteSslKeyExchange = obsoleteSslKeyExchange; } /** True if the connection is using an obsolete SSL cipher. */ public Boolean getObsoleteSslCipher() { return obsoleteSslCipher; } /** True if the connection is using an obsolete SSL cipher. */ public void setObsoleteSslCipher(Boolean obsoleteSslCipher) { this.obsoleteSslCipher = obsoleteSslCipher; } /** True if the connection is using an obsolete SSL signature. */ public Boolean getObsoleteSslSignature() { return obsoleteSslSignature; } /** True if the connection is using an obsolete SSL signature. */ public void setObsoleteSslSignature(Boolean obsoleteSslSignature) { this.obsoleteSslSignature = obsoleteSslSignature; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/security/InsecureContentStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.security; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Information about insecure content on the page. */ @Deprecated public class InsecureContentStatus { private Boolean ranMixedContent; private Boolean displayedMixedContent; private Boolean containedMixedForm; private Boolean ranContentWithCertErrors; private Boolean displayedContentWithCertErrors; private SecurityState ranInsecureContentStyle; private SecurityState displayedInsecureContentStyle; /** Always false. */ public Boolean getRanMixedContent() { return ranMixedContent; } /** Always false. */ public void setRanMixedContent(Boolean ranMixedContent) { this.ranMixedContent = ranMixedContent; } /** Always false. */ public Boolean getDisplayedMixedContent() { return displayedMixedContent; } /** Always false. */ public void setDisplayedMixedContent(Boolean displayedMixedContent) { this.displayedMixedContent = displayedMixedContent; } /** Always false. */ public Boolean getContainedMixedForm() { return containedMixedForm; } /** Always false. */ public void setContainedMixedForm(Boolean containedMixedForm) { this.containedMixedForm = containedMixedForm; } /** Always false. */ public Boolean getRanContentWithCertErrors() { return ranContentWithCertErrors; } /** Always false. */ public void setRanContentWithCertErrors(Boolean ranContentWithCertErrors) { this.ranContentWithCertErrors = ranContentWithCertErrors; } /** Always false. */ public Boolean getDisplayedContentWithCertErrors() { return displayedContentWithCertErrors; } /** Always false. */ public void setDisplayedContentWithCertErrors(Boolean displayedContentWithCertErrors) { this.displayedContentWithCertErrors = displayedContentWithCertErrors; } /** Always set to unknown. */ public SecurityState getRanInsecureContentStyle() { return ranInsecureContentStyle; } /** Always set to unknown. */ public void setRanInsecureContentStyle(SecurityState ranInsecureContentStyle) { this.ranInsecureContentStyle = ranInsecureContentStyle; } /** Always set to unknown. */ public SecurityState getDisplayedInsecureContentStyle() { return displayedInsecureContentStyle; } /** Always set to unknown. */ public void setDisplayedInsecureContentStyle(SecurityState displayedInsecureContentStyle) { this.displayedInsecureContentStyle = displayedInsecureContentStyle; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/security/MixedContentType.java
package com.github.kklisura.cdt.protocol.v2023.types.security; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * A description of mixed content (HTTP resources on HTTPS pages), as defined by * https://www.w3.org/TR/mixed-content/#categories */ public enum MixedContentType { @JsonProperty("blockable") BLOCKABLE, @JsonProperty("optionally-blockable") OPTIONALLY_BLOCKABLE, @JsonProperty("none") NONE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/security/SafetyTipInfo.java
package com.github.kklisura.cdt.protocol.v2023.types.security; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class SafetyTipInfo { private SafetyTipStatus safetyTipStatus; @Optional private String safeUrl; /** * Describes whether the page triggers any safety tips or reputation warnings. Default is unknown. */ public SafetyTipStatus getSafetyTipStatus() { return safetyTipStatus; } /** * Describes whether the page triggers any safety tips or reputation warnings. Default is unknown. */ public void setSafetyTipStatus(SafetyTipStatus safetyTipStatus) { this.safetyTipStatus = safetyTipStatus; } /** The URL the safety tip suggested ("Did you mean?"). Only filled in for lookalike matches. */ public String getSafeUrl() { return safeUrl; } /** The URL the safety tip suggested ("Did you mean?"). Only filled in for lookalike matches. */ public void setSafeUrl(String safeUrl) { this.safeUrl = safeUrl; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/security/SafetyTipStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.security; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum SafetyTipStatus { @JsonProperty("badReputation") BAD_REPUTATION, @JsonProperty("lookalike") LOOKALIKE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/security/SecurityState.java
package com.github.kklisura.cdt.protocol.v2023.types.security; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The security level of a page or resource. */ public enum SecurityState { @JsonProperty("unknown") UNKNOWN, @JsonProperty("neutral") NEUTRAL, @JsonProperty("insecure") INSECURE, @JsonProperty("secure") SECURE, @JsonProperty("info") INFO, @JsonProperty("insecure-broken") INSECURE_BROKEN }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/security/SecurityStateExplanation.java
package com.github.kklisura.cdt.protocol.v2023.types.security; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** An explanation of an factor contributing to the security state. */ public class SecurityStateExplanation { private SecurityState securityState; private String title; private String summary; private String description; private MixedContentType mixedContentType; private List<String> certificate; @Optional private List<String> recommendations; /** Security state representing the severity of the factor being explained. */ public SecurityState getSecurityState() { return securityState; } /** Security state representing the severity of the factor being explained. */ public void setSecurityState(SecurityState securityState) { this.securityState = securityState; } /** Title describing the type of factor. */ public String getTitle() { return title; } /** Title describing the type of factor. */ public void setTitle(String title) { this.title = title; } /** Short phrase describing the type of factor. */ public String getSummary() { return summary; } /** Short phrase describing the type of factor. */ public void setSummary(String summary) { this.summary = summary; } /** Full text explanation of the factor. */ public String getDescription() { return description; } /** Full text explanation of the factor. */ public void setDescription(String description) { this.description = description; } /** The type of mixed content described by the explanation. */ public MixedContentType getMixedContentType() { return mixedContentType; } /** The type of mixed content described by the explanation. */ public void setMixedContentType(MixedContentType mixedContentType) { this.mixedContentType = mixedContentType; } /** Page certificate. */ public List<String> getCertificate() { return certificate; } /** Page certificate. */ public void setCertificate(List<String> certificate) { this.certificate = certificate; } /** Recommendations to fix any issues. */ public List<String> getRecommendations() { return recommendations; } /** Recommendations to fix any issues. */ public void setRecommendations(List<String> recommendations) { this.recommendations = recommendations; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/security/VisibleSecurityState.java
package com.github.kklisura.cdt.protocol.v2023.types.security; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Security state information about the page. */ @Experimental public class VisibleSecurityState { private SecurityState securityState; @Optional private CertificateSecurityState certificateSecurityState; @Optional private SafetyTipInfo safetyTipInfo; private List<String> securityStateIssueIds; /** The security level of the page. */ public SecurityState getSecurityState() { return securityState; } /** The security level of the page. */ public void setSecurityState(SecurityState securityState) { this.securityState = securityState; } /** Security state details about the page certificate. */ public CertificateSecurityState getCertificateSecurityState() { return certificateSecurityState; } /** Security state details about the page certificate. */ public void setCertificateSecurityState(CertificateSecurityState certificateSecurityState) { this.certificateSecurityState = certificateSecurityState; } /** * The type of Safety Tip triggered on the page. Note that this field will be set even if the * Safety Tip UI was not actually shown. */ public SafetyTipInfo getSafetyTipInfo() { return safetyTipInfo; } /** * The type of Safety Tip triggered on the page. Note that this field will be set even if the * Safety Tip UI was not actually shown. */ public void setSafetyTipInfo(SafetyTipInfo safetyTipInfo) { this.safetyTipInfo = safetyTipInfo; } /** Array of security state issues ids. */ public List<String> getSecurityStateIssueIds() { return securityStateIssueIds; } /** Array of security state issues ids. */ public void setSecurityStateIssueIds(List<String> securityStateIssueIds) { this.securityStateIssueIds = securityStateIssueIds; } }