for (Iterator itr = parametersEntries.iterator(); itr.hasNext(); ) {
Map.Entry entry = (Map.Entry)itr.next();
WFVariable variable = (WFVariable)entry.getValue();
String name = variable.getName();
if (WFVariable.Type.WFSTEPINSTANCEVARIABLE.equals(variable.getType())) {
WFStepInfo stepInfo = (WFStepInfo)variable.getValue();
System.out.println("Parameter: '" + name + "' Value:" + stepInfo);
}
else {
System.out.println("Parameter: '" + name + "' was not a WFStepInfo. Variable: " + variable);
}