Record Class CapturePrivacyPolicy
java.lang.Object
java.lang.Record
com.shaft.capture.privacy.CapturePrivacyPolicy
- Record Components:
sensitiveFieldNames- logical field names that must never be persistedsensitiveSelectors- selectors that identify secret inputssensitiveAttributeNames- attributes that must be removedsensitiveUrlParameters- URL parameters whose values must be removedsensitiveValuePatterns- regular expressions identifying secret valuesexternalDataPath- relative JSON file used for ordinary captured values
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CapturePrivacyPolicydefaults()Returns conservative browser-capture defaults.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalDataPathrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesensitiveAttributeNamesrecord component.Returns the value of thesensitiveFieldNamesrecord component.Returns the value of thesensitiveSelectorsrecord component.Returns the value of thesensitiveUrlParametersrecord component.Returns the value of thesensitiveValuePatternsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CapturePrivacyPolicy
-
-
Method Details
-
defaults
Returns conservative browser-capture defaults.- Returns:
- default privacy policy
-
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). -
sensitiveFieldNames
Returns the value of thesensitiveFieldNamesrecord component.- Returns:
- the value of the
sensitiveFieldNamesrecord component
-
sensitiveSelectors
Returns the value of thesensitiveSelectorsrecord component.- Returns:
- the value of the
sensitiveSelectorsrecord component
-
sensitiveAttributeNames
Returns the value of thesensitiveAttributeNamesrecord component.- Returns:
- the value of the
sensitiveAttributeNamesrecord component
-
sensitiveUrlParameters
Returns the value of thesensitiveUrlParametersrecord component.- Returns:
- the value of the
sensitiveUrlParametersrecord component
-
sensitiveValuePatterns
Returns the value of thesensitiveValuePatternsrecord component.- Returns:
- the value of the
sensitiveValuePatternsrecord component
-
externalDataPath
Returns the value of theexternalDataPathrecord component.- Returns:
- the value of the
externalDataPathrecord component
-