Record Class McpMobileReplayResult
java.lang.Object
java.lang.Record
com.shaft.mcp.McpMobileReplayResult
-
Constructor Summary
ConstructorsConstructorDescriptionMcpMobileReplayResult(Path recordingPath, boolean successful, int replayedActionCount, List<McpCodeBlock> codeBlocks, List<String> warnings) Creates an immutable mobile replay result. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecodeBlocksrecord 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 therecordingPathrecord component.intReturns the value of thereplayedActionCountrecord component.booleanReturns the value of thesuccessfulrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpMobileReplayResult
public McpMobileReplayResult(Path recordingPath, boolean successful, int replayedActionCount, List<McpCodeBlock> codeBlocks, List<String> warnings) Creates an immutable mobile replay result.
-
-
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. -
recordingPath
Returns the value of therecordingPathrecord component.- Returns:
- the value of the
recordingPathrecord component
-
successful
public boolean successful()Returns the value of thesuccessfulrecord component.- Returns:
- the value of the
successfulrecord component
-
replayedActionCount
public int replayedActionCount()Returns the value of thereplayedActionCountrecord component.- Returns:
- the value of the
replayedActionCountrecord component
-
codeBlocks
Returns the value of thecodeBlocksrecord component.- Returns:
- the value of the
codeBlocksrecord component
-
warnings
-