Record Class McpMobileToolchainDiagnostic
java.lang.Object
java.lang.Record
com.shaft.mcp.McpMobileToolchainDiagnostic
- Record Components:
dependencyId- stable machine-readable dependency identifieravailable- whether the dependency is ready for usedetectedPath- resolved executable or installation path when availabledetectedVersion- detected version when the tool reports onefailureCause- human-readable explanation when the dependency is unavailablerepairGuidance- command or manual action that can make the dependency available
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theavailablerecord component.Returns the value of thedependencyIdrecord component.Returns the value of thedetectedPathrecord component.Returns the value of thedetectedVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailureCauserecord component.final inthashCode()Returns a hash code value for this object.Returns the value of therepairGuidancerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpMobileToolchainDiagnostic
-
-
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. -
dependencyId
Returns the value of thedependencyIdrecord component.- Returns:
- the value of the
dependencyIdrecord component
-
available
-
detectedPath
Returns the value of thedetectedPathrecord component.- Returns:
- the value of the
detectedPathrecord component
-
detectedVersion
Returns the value of thedetectedVersionrecord component.- Returns:
- the value of the
detectedVersionrecord component
-
failureCause
Returns the value of thefailureCauserecord component.- Returns:
- the value of the
failureCauserecord component
-
repairGuidance
Returns the value of therepairGuidancerecord component.- Returns:
- the value of the
repairGuidancerecord component
-