public void read(Element delegateElement, JpdlXmlReader jpdlReader) { processDefinition = jpdlReader.getProcessDefinition(); className = delegateElement.attributeValue("class"); if (className == null) { jpdlReader.addWarning("no class specified in delegation: " + delegateElement.getPath()); } configType = delegateElement.attributeValue("config-type"); if (delegateElement.hasContent()) { configuration = jpdlReader.writeElementContent(delegateElement); } }
public void read(Element delegateElement, JpdlXmlReader jpdlReader) { processDefinition = jpdlReader.getProcessDefinition(); className = delegateElement.attributeValue("class"); if (className == null) { jpdlReader.addWarning("no class specified in delegation: " + delegateElement.getPath()); } configType = delegateElement.attributeValue("config-type"); if (delegateElement.hasContent()) { configuration = jpdlReader.writeElementContent(delegateElement); } }
public void read(Element element, JpdlXmlReader jpdlReader) { // TODO // just making sure that the context definition is present // because the interleave node needs the context instance at runtime ProcessDefinition processDefinition = jpdlReader.getProcessDefinition(); if (processDefinition.getDefinition(ContextDefinition.class)==null) { processDefinition.addDefinition(new ContextDefinition()); } }
public void read(Element element, JpdlXmlReader jpdlReader) { // TODO // just making sure that the context definition is present // because the interleave node needs the context instance at runtime ProcessDefinition processDefinition = jpdlReader.getProcessDefinition(); if (processDefinition.getDefinition(ContextDefinition.class)==null) { processDefinition.addDefinition(new ContextDefinition()); } }