}
Iterator tasks = jobElement.element("tasks").elementIterator("task");
while (tasks.hasNext()) {
Element taskElem = (Element) tasks.next();
Task task = new Task(taskElem.attributeValue("class"));
Iterator taskOptions = taskElem.attributeIterator();
while (taskOptions.hasNext()) {
Attribute attribute = (Attribute) taskOptions.next();
if (!attribute.getName().equals("name") && !attribute.getName().equals("class")) {
String value = attribute.getValue();
if (value != null && !value.trim().equalsIgnoreCase("(database containing the script module)") && !value.trim().equalsIgnoreCase("(Script module to execute)")) {