Package com.cloudforgeci.api.core.rules
Record Class ComplianceMatrix.FrameworkRequirement
java.lang.Object
java.lang.Record
com.cloudforgeci.api.core.rules.ComplianceMatrix.FrameworkRequirement
- Record Components:
citation- the framework control citation (e.g., "AC-2", "CIP-007-6 R2")level- the requirement enforcement level
- Enclosing class:
ComplianceMatrix
public static record ComplianceMatrix.FrameworkRequirement(String citation, ComplianceMatrix.RequirementLevel level)
extends Record
Framework-specific requirement with enforcement level.
-
Constructor Summary
ConstructorsConstructorDescriptionFrameworkRequirement(String citation, ComplianceMatrix.RequirementLevel level) Creates an instance of aFrameworkRequirementrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncitation()Returns the value of thecitationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.level()Returns the value of thelevelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
required
-
advisory
-
notApplicable
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
citation
Returns the value of thecitationrecord component.- Returns:
- the value of the
citationrecord component
-
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-