Class PrivacyMonitor

  • public class PrivacyMonitor
    extends Object
    • Constructor Detail

      • PrivacyMonitor

        public PrivacyMonitor()
    • Method Detail

      • clearCheckedConstraints

        public static void clearCheckedConstraints()
        Clears all checked constraints. This is used to reset the counter of checked constraints for each PrivacyLevel.
      • setCheckPrivacy

        public static void setCheckPrivacy​(boolean checkPrivacyParam)
      • handlePrivacy

        public static Data handlePrivacy​(Data dataObject)
        Throws DMLPrivacyException if privacy constraint is set to private or private aggregation. The checked constraints log will be updated before throwing an exception.
        dataObject - input data object
        data object or data object with privacy constraint removed in case the privacy level was none.