Class ModelResolveUtility
java.lang.Object
org.apache.sling.provisioning.model.ModelResolveUtility
Helper methods for resolving variables and artifact versions in models.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
replace
(Feature feature, String v, ModelUtility.VariableResolver resolver) Replace properties in the string.
-
Method Details
-
replace
Replace properties in the string.- Parameters:
feature
- The featurev
- The variable nameresolver
- Optional resolver- Returns:
- The value of the variable
- Throws:
IllegalArgumentException
- If variable can't be found.
-