if (outMessage.getParameterValue(parameterName) == null) {
continue;
}
Parameter x = outMessage.getParameterValue(parameterName);
x.fromString(parseStdout(stdout, parameterName));
}
}
private static String parseStdout(String stdout, String outParam) {
String regex = Pattern.quote(outParam) + "\\s*=\\s*([^\\[\\s'\"][^\\s]*|\"[^\"]*\"|'[^']*'|\\[[^\\[]*\\])";