Record Class ControlAssessment
java.lang.Object
java.lang.Record
org.j7m.middleware.compliance.api.ControlAssessment
- Record Components:
controlId- control idstatus- conservative statusevidence- supporting evidencelimitation- known limitation
public record ControlAssessment(ControlId controlId, ControlStatus status, List<ControlEvidence> evidence, String limitation)
extends Record
Assessment result for one control.
-
Constructor Summary
ConstructorsConstructorDescriptionControlAssessment(ControlId controlId, ControlStatus status, List<ControlEvidence> evidence, String limitation) Creates immutable assessment values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontrolIdrecord component.final booleanIndicates whether some other object is "equal to" this one.evidence()Returns the value of theevidencerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelimitationrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ControlAssessment
public ControlAssessment(ControlId controlId, ControlStatus status, List<ControlEvidence> evidence, String limitation) Creates immutable assessment values.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
controlId
-
status
-
evidence
-
limitation
Returns the value of thelimitationrecord component.- Returns:
- the value of the
limitationrecord component
-