Package 

Interface DataConstraints


  • 
    public interface DataConstraints
    
                        

    This interface allows sanitizing logs locally before uploading them to the servers.

    • Method Detail

      • validateAttributes

         abstract <T extends Any> Map<String, T> validateAttributes(Map<String, T> attributes, String keyPrefix, String attributesGroupName, Set<String> reservedKeys)

        Validates attributes according to the particular rules.

        Parameters:
        attributes - Attributes to validate.
        keyPrefix - Optional key prefix for the attributes root (ex.
        attributesGroupName - Optional description for the attributes to validate.
        reservedKeys - Collection of reserved key.