Record Class PolicyTraceStep
java.lang.Object
java.lang.Record
zeroecho.pki.api.policy.PolicyTraceStep
- Record Components:
ruleId- stable rule identifier (implementation-defined)outcome- human-readable outcome string (e.g., "ALLOW", "DENY", "MODIFY")notes- non-sensitive explanatory notes
-
Constructor Summary
ConstructorsConstructorDescriptionPolicyTraceStep(String ruleId, String outcome, List<String> notes) Creates a policy trace step. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.notes()Returns the value of thenotesrecord component.outcome()Returns the value of theoutcomerecord component.ruleId()Returns the value of theruleIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PolicyTraceStep
Creates a policy trace step.- Throws:
IllegalArgumentException- if inputs are invalid
-
-
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). -
ruleId
-
outcome
-
notes
-