index++;
decisions.add("["+index+"] " + message);
}
};
CompositeDecision decisionTree = new CompositeDecision();
decisionTree.setLog(log);
ValidationResult validation = decisionTree.validate(entity, changeset);
// dump log
StringBuilder sb = new StringBuilder();
for(String s : decisions)
sb.append(s).append(" \n");