public class AbstractProfile extends Object implements Profile
Modifier and Type | Field and Description |
---|---|
protected AbstractAuthorizable |
authorizable |
static String |
NODE_PROFILE |
protected LinkedHashMap<String,String> |
profileProps
Collect the properties for the profile
|
Constructor and Description |
---|
AbstractProfile(T authorizable)
Default constructor for an existing authorizable
|
Modifier and Type | Method and Description |
---|---|
org.codehaus.jackson.JsonNode |
getProfileNode()
Get profile properties from
Authorizable |
HashMap<String,String> |
getProperties()
Get profile properties
|
void |
setProperties(HashMap<String,String> propertiesMap)
Set profile properties
|
public static final String NODE_PROFILE
protected AbstractAuthorizable authorizable
protected LinkedHashMap<String,String> profileProps
public AbstractProfile(T authorizable) throws org.apache.sling.testing.clients.ClientException
T
- authorizable typeauthorizable
- any Authorizable
extending the AbstractAuthorizable
org.apache.sling.testing.clients.ClientException
- if the request to load the authorizable failedpublic org.codehaus.jackson.JsonNode getProfileNode() throws org.apache.sling.testing.clients.ClientException
Authorizable
JsonNode
org.apache.sling.testing.clients.ClientException
- if the request failedpublic HashMap<String,String> getProperties()
Profile
getProperties
in interface Profile
Copyright © 2018. All rights reserved.