Record Class McpMobileInspectorRecordingStatus
java.lang.Object
java.lang.Record
com.shaft.mcp.McpMobileInspectorRecordingStatus
public record McpMobileInspectorRecordingStatus(boolean active, boolean paused, String platformName, String deviceId, String androidAvdName, boolean managedEmulator, Path outputPath, String inspectorUrl, String appiumServerUrl, int actionCount, List<McpCodeBlock> codeBlocks, List<String> warnings)
extends Record
Runtime status for a wrapped Appium Inspector recording session.
-
Constructor Summary
ConstructorsConstructorDescriptionMcpMobileInspectorRecordingStatus(boolean active, boolean paused, String platformName, String deviceId, String androidAvdName, boolean managedEmulator, Path outputPath, String inspectorUrl, String appiumServerUrl, int actionCount, List<McpCodeBlock> codeBlocks, List<String> warnings) Creates an immutable inspector recording status. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theactionCountrecord component.booleanactive()Returns the value of theactiverecord component.Returns the value of theandroidAvdNamerecord component.Returns the value of theappiumServerUrlrecord component.Returns the value of thecodeBlocksrecord component.deviceId()Returns the value of thedeviceIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinspectorUrlrecord component.booleanReturns the value of themanagedEmulatorrecord component.Returns the value of theoutputPathrecord component.booleanpaused()Returns the value of thepausedrecord 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
-
McpMobileInspectorRecordingStatus
public McpMobileInspectorRecordingStatus(boolean active, boolean paused, String platformName, String deviceId, String androidAvdName, boolean managedEmulator, Path outputPath, String inspectorUrl, String appiumServerUrl, int actionCount, List<McpCodeBlock> codeBlocks, List<String> warnings) Creates an immutable inspector recording status.
-
-
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. -
active
public boolean active()Returns the value of theactiverecord component.- Returns:
- the value of the
activerecord component
-
paused
public boolean paused()Returns the value of thepausedrecord component.- Returns:
- the value of the
pausedrecord component
-
platformName
Returns the value of theplatformNamerecord component.- Returns:
- the value of the
platformNamerecord component
-
deviceId
Returns the value of thedeviceIdrecord component.- Returns:
- the value of the
deviceIdrecord component
-
androidAvdName
Returns the value of theandroidAvdNamerecord component.- Returns:
- the value of the
androidAvdNamerecord component
-
managedEmulator
public boolean managedEmulator()Returns the value of themanagedEmulatorrecord component.- Returns:
- the value of the
managedEmulatorrecord component
-
outputPath
Returns the value of theoutputPathrecord component.- Returns:
- the value of the
outputPathrecord component
-
inspectorUrl
Returns the value of theinspectorUrlrecord component.- Returns:
- the value of the
inspectorUrlrecord component
-
appiumServerUrl
Returns the value of theappiumServerUrlrecord component.- Returns:
- the value of the
appiumServerUrlrecord component
-
actionCount
public int actionCount()Returns the value of theactionCountrecord component.- Returns:
- the value of the
actionCountrecord component
-
codeBlocks
Returns the value of thecodeBlocksrecord component.- Returns:
- the value of the
codeBlocksrecord component
-
warnings
-