Class ProvisioningProperties
- java.lang.Object
 - 
- com.adobe.cq.cloudservices.provisioning.ProvisioningProperties
 
 
- 
public final class ProvisioningProperties extends java.lang.ObjectTheProvisioningPropertiesis an utility class to read a properties file containing data for automatic provisioning. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARAM_AUTOMATIC_PROVISIONINGRequest parameter name for automatic provisioning.static java.lang.StringPROP_PROVISIONING_CONTAINER_FOLDERName of the system property holding the parent directory of the properties file.static java.lang.StringPROP_PROVISIONING_FILE_NAMEFile name of the properties file holding the provisioning data. 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.PropertiesgetAutomaticProvisioningData()Reads the provisioning properties file with the namePROP_PROVISIONING_FILE_NAMEfrom the working directory. 
 - 
 
- 
- 
Field Detail
- 
PARAM_AUTOMATIC_PROVISIONING
public static final java.lang.String PARAM_AUTOMATIC_PROVISIONING
Request parameter name for automatic provisioning.- See Also:
 - Constant Field Values
 
 
- 
PROP_PROVISIONING_CONTAINER_FOLDER
public static final java.lang.String PROP_PROVISIONING_CONTAINER_FOLDER
Name of the system property holding the parent directory of the properties file.- See Also:
 - Constant Field Values
 
 
- 
PROP_PROVISIONING_FILE_NAME
public static final java.lang.String PROP_PROVISIONING_FILE_NAME
File name of the properties file holding the provisioning data.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getAutomaticProvisioningData
public static java.util.Properties getAutomaticProvisioningData()
Reads the provisioning properties file with the namePROP_PROVISIONING_FILE_NAMEfrom the working directory. If the system propertyPROP_PROVISIONING_CONTAINER_FOLDERis set, the method attempts to read the file from there.The file should contain prefixed properties in the form of
<servicename>.<property> (i.e. analytics.company)- Returns:
 - Properties or 
nullif the file does not exist or can't be read. 
 
 - 
 
 -