public void read(Element nodeElement, JpdlXmlReader jpdlXmlReader) { action = jpdlXmlReader.readSingleAction(nodeElement); }
public void read(Element nodeElement, JpdlXmlReader jpdlXmlReader) { action = jpdlXmlReader.readSingleAction(nodeElement); }
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()); } }
protected void readNodeTimer(Element timerElement, Node node) { String name = timerElement.attributeValue("name", node.getName()); if (name == null) name = generateTimerName(); CreateTimerAction createTimerAction = new CreateTimerAction(); createTimerAction.read(timerElement, this); createTimerAction.setTimerName(name); createTimerAction.setTimerAction(readSingleAction(timerElement)); addAction(node, Event.EVENTTYPE_NODE_ENTER, createTimerAction); CancelTimerAction cancelTimerAction = new CancelTimerAction(); cancelTimerAction.setTimerName(name); addAction(node, Event.EVENTTYPE_NODE_LEAVE, cancelTimerAction); }
Action action = null; if ("timer".equals(timerElement.getName())) { action = readSingleAction(timerElement);
protected void readNodeTimer(Element timerElement, Node node) { String name = timerElement.attributeValue("name", node.getName()); if (name == null) name = generateTimerName(); CreateTimerAction createTimerAction = new CreateTimerAction(); createTimerAction.read(timerElement, this); createTimerAction.setTimerName(name); createTimerAction.setTimerAction(readSingleAction(timerElement)); addAction(node, Event.EVENTTYPE_NODE_ENTER, createTimerAction); CancelTimerAction cancelTimerAction = new CancelTimerAction(); cancelTimerAction.setTimerName(name); addAction(node, Event.EVENTTYPE_NODE_LEAVE, cancelTimerAction); }
Action action = null; if ("timer".equals(timerElement.getName())) { action = readSingleAction(timerElement);