Record Class McpMobileRecordedAction
java.lang.Object
java.lang.Record
com.shaft.mcp.McpMobileRecordedAction
public record McpMobileRecordedAction(long sequence, String timestamp, String action, String locatorStrategy, String locatorValue, Map<String,String> parameters, String javaCode, boolean sensitiveValueStored, List<String> warnings)
extends Record
Persisted MCP mobile action for deterministic replay generation.
-
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.javaCode()Returns the value of thejavaCoderecord component.Returns the value of thelocatorStrategyrecord component.Returns the value of thelocatorValuerecord component.Returns the value of theparametersrecord component.booleanReturns the value of thesensitiveValueStoredrecord component.longsequence()Returns the value of thesequencerecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpMobileRecordedAction
-
-
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. -
sequence
public long sequence()Returns the value of thesequencerecord component.- Returns:
- the value of the
sequencerecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
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
-
parameters
-
javaCode
Returns the value of thejavaCoderecord component.- Returns:
- the value of the
javaCoderecord component
-
sensitiveValueStored
public boolean sensitiveValueStored()Returns the value of thesensitiveValueStoredrecord component.- Returns:
- the value of the
sensitiveValueStoredrecord component
-
warnings
-