Record Class McpMobileSessionResult
java.lang.Object
java.lang.Record
com.shaft.mcp.McpMobileSessionResult
-
Constructor Summary
ConstructorsConstructorDescriptionMcpMobileSessionResult(String mode, String platformName, String deviceName, String browserName, boolean active, List<McpCodeBlock> codeBlocks, List<String> warnings) Creates an immutable mobile session result. -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()Returns the value of theactiverecord component.Returns the value of thebrowserNamerecord component.Returns the value of thecodeBlocksrecord component.Returns the value of thedeviceNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mode()Returns the value of themoderecord component.Returns the value of theplatformNamerecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpMobileSessionResult
-
-
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. -
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
platformName
Returns the value of theplatformNamerecord component.- Returns:
- the value of the
platformNamerecord component
-
deviceName
Returns the value of thedeviceNamerecord component.- Returns:
- the value of the
deviceNamerecord component
-
browserName
Returns the value of thebrowserNamerecord component.- Returns:
- the value of the
browserNamerecord component
-
active
public boolean active()Returns the value of theactiverecord component.- Returns:
- the value of the
activerecord component
-
codeBlocks
Returns the value of thecodeBlocksrecord component.- Returns:
- the value of the
codeBlocksrecord component
-
warnings
-