public void read(Element element, JpdlXmlReader jpdlReader) { // get the signal String signalText = element.attributeValue("signal"); if (signalText != null) { signal = parseSignal(signalText); } // create tasks String createTasksText = element.attributeValue("create-tasks"); createTasks = jpdlReader.readBoolean(createTasksText, true); // create tasks String removeTasksText = element.attributeValue("end-tasks"); endTasks = jpdlReader.readBoolean(removeTasksText, false); // parse the tasks jpdlReader.readTasks(element, this); }
public void read(Element element, JpdlXmlReader jpdlReader) { // get the signal String signalText = element.attributeValue("signal"); if (signalText != null) { signal = parseSignal(signalText); } // create tasks String createTasksText = element.attributeValue("create-tasks"); createTasks = jpdlReader.readBoolean(createTasksText, true); // create tasks String removeTasksText = element.attributeValue("end-tasks"); endTasks = jpdlReader.readBoolean(removeTasksText, false); // parse the tasks jpdlReader.readTasks(element, this); }
/** Configures the common action parts. */ public void readAction(Element actionElement, Action action) { // if a name is specified for this action String actionName = actionElement.attributeValue("name"); if (actionName != null) { action.setName(actionName); // add the action to the named process action repository processDefinition.addAction(action); } String acceptPropagatedEvents = actionElement.attributeValue("accept-propagated-events"); action.setPropagationAllowed(readBoolean(acceptPropagatedEvents, true)); String asyncText = actionElement.attributeValue("async"); if ("exclusive".equalsIgnoreCase(asyncText)) { action.setAsyncExclusive(true); } else if (readBoolean(asyncText, false)) { action.setAsync(true); } }
/** Configures the common action parts. */ public void readAction(Element actionElement, Action action) { // if a name is specified for this action String actionName = actionElement.attributeValue("name"); if (actionName != null) { action.setName(actionName); // add the action to the named process action repository processDefinition.addAction(action); } String acceptPropagatedEvents = actionElement.attributeValue("accept-propagated-events"); action.setPropagationAllowed(readBoolean(acceptPropagatedEvents, true)); String asyncText = actionElement.attributeValue("async"); if ("exclusive".equalsIgnoreCase(asyncText)) { action.setAsyncExclusive(true); } else if (readBoolean(asyncText, false)) { action.setAsync(true); } }
public void read(Element actionElement, JpdlXmlReader jpdlReader) { timerName = actionElement.attributeValue("name"); timerAction = jpdlReader.readSingleAction(actionElement); dueDate = actionElement.attributeValue("duedate"); if (dueDate == null) { jpdlReader.addWarning("due date not specified on create timer: " + actionElement.getPath()); } repeat = actionElement.attributeValue("repeat"); if (jpdlReader.readBoolean(repeat, false)) { repeat = dueDate; } transitionName = actionElement.attributeValue("transition"); if (transitionName != null && repeat != null) { repeat = null; jpdlReader.addWarning("ignoring repeat on create timer with transition: " + actionElement.getPath()); } }
public void read(Element actionElement, JpdlXmlReader jpdlReader) { timerName = actionElement.attributeValue("name"); timerAction = jpdlReader.readSingleAction(actionElement); dueDate = actionElement.attributeValue("duedate"); if (dueDate == null) { jpdlReader.addWarning("due date not specified on create timer: " + actionElement.getPath()); } repeat = actionElement.attributeValue("repeat"); if (jpdlReader.readBoolean(repeat, false)) { repeat = dueDate; } transitionName = actionElement.attributeValue("transition"); if (transitionName != null && repeat != null) { repeat = null; jpdlReader.addWarning("ignoring repeat on create timer with transition: " + actionElement.getPath()); } }
node.setAsyncExclusive(true); else if (readBoolean(asyncText, false)) { node.setAsync(true);
node.setAsyncExclusive(true); else if (readBoolean(asyncText, false)) { node.setAsync(true);
task.setBlocking(readBoolean(blockingText, false)); task.setSignalling(readBoolean(signallingText, true)); if (readBoolean(notificationsText, false)) {
task.setBlocking(readBoolean(blockingText, false)); task.setSignalling(readBoolean(signallingText, true)); if (readBoolean(notificationsText, false)) {