Class AbstractProfile

    • Constructor Detail

      • AbstractProfile

        public AbstractProfile​(T authorizable)
                        throws org.apache.sling.testing.clients.ClientException
        Default constructor for an existing authorizable
        Type Parameters:
        T - authorizable type
        Parameters:
        authorizable - any Authorizable extending the AbstractAuthorizable
        Throws:
        org.apache.sling.testing.clients.ClientException - if the request to load the authorizable failed
    • Method Detail

      • getProfileNode

        public com.fasterxml.jackson.databind.JsonNode getProfileNode()
                                                               throws org.apache.sling.testing.clients.ClientException
        Get profile properties from Authorizable
        Returns:
        profile properties as JsonNode
        Throws:
        org.apache.sling.testing.clients.ClientException - if the request failed
      • setProperties

        public void setProperties​(HashMap<String,​String> propertiesMap)
        Description copied from interface: Profile
        Set profile properties
        Specified by:
        setProperties in interface Profile
        Parameters:
        propertiesMap - map with profile properties