Class ModelResolveUtility


  • public class ModelResolveUtility
    extends java.lang.Object
    Helper methods for resolving variables and artifact versions in models.
    • Method Detail

      • replace

        public static java.lang.String replace​(Feature feature,
                                               java.lang.String v,
                                               ModelUtility.VariableResolver resolver)
        Replace properties in the string.
        Parameters:
        feature - The feature
        v - The variable name
        resolver - Optional resolver
        Returns:
        The value of the variable
        Throws:
        java.lang.IllegalArgumentException - If variable can't be found.