Map<String, String> keyValues = new TreeMap<String, String>();
/* Scan for all parameter with an associated default values */
for (ParameterDefinition paramDefinition : paramDefProp.getParameterDefinitions()) {
ParameterValue defaultValue = paramDefinition.getDefaultParameterValue();
if (defaultValue instanceof StringParameterValue) {
StringParameterValue strdefvalue = (StringParameterValue) defaultValue;
keyValues.put(defaultValue.getName(), strdefvalue.value);
}
}
final EnvVars environment = new EnvVars(keyValues);
localStream = environment.expand(this.stream);