Record Class ComplianceReport
java.lang.Object
java.lang.Record
org.j7m.middleware.compliance.api.ComplianceReport
- Record Components:
generatedAt- report timestampprofile- profile used for mappingscope- assessed scopeassessments- control assessmentsevidence- raw evidence recordssummary- summary counterslimitations- known limitations
public record ComplianceReport(Instant generatedAt, ComplianceProfile profile, ComplianceScope scope, List<ControlAssessment> assessments, List<ControlEvidence> evidence, Map<ControlStatus, Long> summary, List<String> limitations)
extends Record
Immutable compliance evidence report.
-
Constructor Summary
ConstructorsConstructorDescriptionComplianceReport(Instant generatedAt, ComplianceProfile profile, ComplianceScope scope, List<ControlAssessment> assessments, List<ControlEvidence> evidence, Map<ControlStatus, Long> summary, List<String> limitations) Creates immutable report values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassessmentsrecord component.final booleanIndicates whether some other object is "equal to" this one.evidence()Returns the value of theevidencerecord component.Returns the value of thegeneratedAtrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelimitationsrecord component.profile()Returns the value of theprofilerecord component.scope()Returns the value of thescoperecord component.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ComplianceReport
public ComplianceReport(Instant generatedAt, ComplianceProfile profile, ComplianceScope scope, List<ControlAssessment> assessments, List<ControlEvidence> evidence, Map<ControlStatus, Long> summary, List<String> limitations) Creates immutable report 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). -
generatedAt
Returns the value of thegeneratedAtrecord component.- Returns:
- the value of the
generatedAtrecord component
-
profile
-
scope
-
assessments
Returns the value of theassessmentsrecord component.- Returns:
- the value of the
assessmentsrecord component
-
evidence
-
summary
-
limitations
Returns the value of thelimitationsrecord component.- Returns:
- the value of the
limitationsrecord component
-