Record Class McpMobileStepSummary
java.lang.Object
java.lang.Record
com.shaft.mcp.McpMobileStepSummary
- Record Components:
stepId- stable identity assigned at record time; never changes or is reusedsequence- current display position (1..N), renumbered after every delete/reorderaction- recorded action namelocatorStrategy- recorded locator strategy name, blank for coordinate-based actionslocatorValue- recorded locator valuerisky- whether this step carries replay warningswarnings- step-level replay warnings
public record McpMobileStepSummary(String stepId, long sequence, String action, String locatorStrategy, String locatorValue, boolean risky, List<String> warnings)
extends Record
Summary of one recorded mobile step, surfaced in
McpMobileRecordingStatus so an agent
can target McpMobileRecordingService.deleteStep(String) or
McpMobileRecordingService.reorderStep(String, String) by stable stepId without
re-reading the persisted recording file.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord 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 thelocatorStrategyrecord component.Returns the value of thelocatorValuerecord component.booleanrisky()Returns the value of theriskyrecord component.longsequence()Returns the value of thesequencerecord component.stepId()Returns the value of thestepIdrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpMobileStepSummary
-
-
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. -
stepId
-
sequence
-
action
-
locatorStrategy
Returns the value of thelocatorStrategyrecord component.- Returns:
- the value of the
locatorStrategyrecord component
-
locatorValue
Returns the value of thelocatorValuerecord component.- Returns:
- the value of the
locatorValuerecord component
-
risky
-
warnings
-