Record Class NaturalActionRequest
java.lang.Object
java.lang.Record
com.shaft.gui.internal.natural.NaturalActionRequest
- Record Components:
driver- active Selenium driverintent- user intentarguments- user-provided action argumentsmobileNativeExecution- whether the active session is a mobile native sessionmobileWebExecution- whether the active session is a mobile web session
-
Constructor Summary
ConstructorsConstructorDescriptionNaturalActionRequest(org.openqa.selenium.WebDriver driver, String intent, List<Object> arguments, boolean mobileNativeExecution, boolean mobileWebExecution) Creates an immutable request. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentsrecord component.org.openqa.selenium.WebDriverdriver()Returns the value of thedriverrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intent()Returns the value of theintentrecord component.booleanReturns the value of themobileNativeExecutionrecord component.booleanReturns the value of themobileWebExecutionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NaturalActionRequest
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
driver
-
intent
-
arguments
-
mobileNativeExecution
public boolean mobileNativeExecution()Returns the value of themobileNativeExecutionrecord component.- Returns:
- the value of the
mobileNativeExecutionrecord component
-
mobileWebExecution
public boolean mobileWebExecution()Returns the value of themobileWebExecutionrecord component.- Returns:
- the value of the
mobileWebExecutionrecord component
-