Record Class McpHealerAttemptResult
java.lang.Object
java.lang.Record
com.shaft.mcp.McpHealerAttemptResult
- Record Components:
attemptNumber- one-based attempt numbercommand- exact command argument vectorexitCode- process exit code, or -1 when timed outtimedOut- whether the process exceeded the timeoutpassed- whether the process and expected Allure evidence passedallureResultCount- populated Allure result files observed for this attemptfailedAllureResultCount- non-passing Allure result files observed for this attemptdiagnostics- bounded redacted process diagnosticsallureResultPaths- changed Allure result files used for analysis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theallureResultCountrecord component.Returns the value of theallureResultPathsrecord component.intReturns the value of theattemptNumberrecord component.command()Returns the value of thecommandrecord component.Returns the value of thediagnosticsrecord component.final booleanIndicates whether some other object is "equal to" this one.intexitCode()Returns the value of theexitCoderecord component.intReturns the value of thefailedAllureResultCountrecord component.final inthashCode()Returns a hash code value for this object.booleanpassed()Returns the value of thepassedrecord component.booleantimedOut()Returns the value of thetimedOutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpHealerAttemptResult
-
-
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. -
attemptNumber
public int attemptNumber()Returns the value of theattemptNumberrecord component.- Returns:
- the value of the
attemptNumberrecord component
-
command
-
exitCode
-
timedOut
-
passed
-
allureResultCount
public int allureResultCount()Returns the value of theallureResultCountrecord component.- Returns:
- the value of the
allureResultCountrecord component
-
failedAllureResultCount
public int failedAllureResultCount()Returns the value of thefailedAllureResultCountrecord component.- Returns:
- the value of the
failedAllureResultCountrecord component
-
diagnostics
Returns the value of thediagnosticsrecord component.- Returns:
- the value of the
diagnosticsrecord component
-
allureResultPaths
Returns the value of theallureResultPathsrecord component.- Returns:
- the value of the
allureResultPathsrecord component
-