Class PropertyDescriptor
- java.lang.Object
-
- org.openqa.selenium.devtools.runtime.model.PropertyDescriptor
-
public class PropertyDescriptor extends java.lang.ObjectObject property descriptor.
-
-
Constructor Summary
Constructors Constructor Description PropertyDescriptor(java.lang.String name, RemoteObject value, java.lang.Boolean writable, RemoteObject get, RemoteObject set, java.lang.Boolean configurable, java.lang.Boolean enumerable, java.lang.Boolean wasThrown, java.lang.Boolean isOwn, RemoteObject symbol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetConfigurable()True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.java.lang.BooleangetEnumerable()True if this property shows up during enumeration of the properties on the corresponding object.RemoteObjectgetGet()A function which serves as a getter for the property, or `undefined` if there is no getter (accessor descriptors only).java.lang.BooleangetIsOwn()True if the property is owned for the object.java.lang.StringgetName()Property name or symbol description.RemoteObjectgetSet()A function which serves as a setter for the property, or `undefined` if there is no setter (accessor descriptors only).RemoteObjectgetSymbol()Property symbol object, if the property is of the `symbol` type.RemoteObjectgetValue()The value associated with the property.java.lang.BooleangetWasThrown()True if the result was thrown during the evaluation.java.lang.BooleangetWritable()True if the value associated with the property may be changed (data descriptors only).
-
-
-
Constructor Detail
-
PropertyDescriptor
public PropertyDescriptor(java.lang.String name, RemoteObject value, java.lang.Boolean writable, RemoteObject get, RemoteObject set, java.lang.Boolean configurable, java.lang.Boolean enumerable, java.lang.Boolean wasThrown, java.lang.Boolean isOwn, RemoteObject symbol)
-
-
Method Detail
-
getName
public java.lang.String getName()
Property name or symbol description.
-
getValue
public RemoteObject getValue()
The value associated with the property.
-
getWritable
public java.lang.Boolean getWritable()
True if the value associated with the property may be changed (data descriptors only).
-
getGet
public RemoteObject getGet()
A function which serves as a getter for the property, or `undefined` if there is no getter (accessor descriptors only).
-
getSet
public RemoteObject getSet()
A function which serves as a setter for the property, or `undefined` if there is no setter (accessor descriptors only).
-
getConfigurable
public java.lang.Boolean getConfigurable()
True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
-
getEnumerable
public java.lang.Boolean getEnumerable()
True if this property shows up during enumeration of the properties on the corresponding object.
-
getWasThrown
public java.lang.Boolean getWasThrown()
True if the result was thrown during the evaluation.
-
getIsOwn
public java.lang.Boolean getIsOwn()
True if the property is owned for the object.
-
getSymbol
public RemoteObject getSymbol()
Property symbol object, if the property is of the `symbol` type.
-
-