Record Class HealingReport.ActionMetadata
java.lang.Object
java.lang.Record
com.shaft.heal.model.HealingReport.ActionMetadata
- Record Components:
name- intended actionrecoveryUsed- whether recovery was usedoutcome- pending, passed, or failedpostActionVerification- verification result or explicit unverifiable statefailure- safe failure category
- Enclosing class:
HealingReport
-
Constructor Summary
ConstructorsConstructorDescriptionActionMetadata(String name, boolean recoveryUsed, String outcome, String postActionVerification, String failure) Creates safe action metadata. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.failure()Returns the value of thefailurerecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.outcome()Returns the value of theoutcomerecord component.static HealingReport.ActionMetadataCreates pending action metadata.Returns the value of thepostActionVerificationrecord component.booleanReturns the value of therecoveryUsedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ActionMetadata
-
-
Method Details
-
pending
Creates pending action metadata.- Parameters:
name- action name- Returns:
- pending metadata
-
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. -
name
-
recoveryUsed
public boolean recoveryUsed()Returns the value of therecoveryUsedrecord component.- Returns:
- the value of the
recoveryUsedrecord component
-
outcome
-
postActionVerification
Returns the value of thepostActionVerificationrecord component.- Returns:
- the value of the
postActionVerificationrecord component
-
failure
-