Class ProvisioningProperties
java.lang.Object
com.adobe.cq.cloudservices.provisioning.ProvisioningProperties
The
ProvisioningProperties is an utility class to read a properties file containing data for automatic
provisioning.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertiesReads the provisioning properties file with the namePROP_PROVISIONING_FILE_NAMEfrom the working directory.
-
Field Details
-
PARAM_AUTOMATIC_PROVISIONING
Request parameter name for automatic provisioning.- See Also:
-
PROP_PROVISIONING_CONTAINER_FOLDER
Name of the system property holding the parent directory of the properties file.- See Also:
-
PROP_PROVISIONING_FILE_NAME
File name of the properties file holding the provisioning data.- See Also:
-
-
Method Details
-
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.
-