Record Class RedactionSummary
java.lang.Object
java.lang.Record
com.shaft.doctor.model.RedactionSummary
- Record Components:
appliedRules- redaction rule namesremovedFieldNames- sensitive field names removedomittedItems- evidence items omitted by policy or limits
-
Constructor Summary
ConstructorsConstructorDescriptionRedactionSummary(List<String> appliedRules, List<String> removedFieldNames, int omittedItems) Creates an immutable summary. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappliedRulesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theomittedItemsrecord component.Returns the value of theremovedFieldNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RedactionSummary
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
appliedRules
Returns the value of theappliedRulesrecord component.- Returns:
- the value of the
appliedRulesrecord component
-
removedFieldNames
Returns the value of theremovedFieldNamesrecord component.- Returns:
- the value of the
removedFieldNamesrecord component
-
omittedItems
public int omittedItems()Returns the value of theomittedItemsrecord component.- Returns:
- the value of the
omittedItemsrecord component
-