{
Content paramNode = ContentUtil.getOrCreateContent(jobNode, "params", ItemType.CONTENTNODE);
Iterator children = paramNode.getNodeDataCollection().iterator();
while (children.hasNext())
{
NodeData node = (NodeData) children.next();
log.debug("deleting node {}", node.getHandle());
node.delete();
}
Iterator it = definition.getParams().entrySet().iterator();
while (it.hasNext())
{
Map.Entry pairs = (Map.Entry) it.next();