Package org.apache.marmotta.platform.core.api.task

Examples of org.apache.marmotta.platform.core.api.task.Task.updateDetailMessage()


                public void run() {
                    Task task = taskManagerService.createTask("Import from external source", TASK_GROUP_NAME);
                    task.updateDetailMessage("source", finalUrl.toExternalForm());
                    task.updateDetailMessage("type", finalType);
                    if (context != null) {
                        task.updateDetailMessage("context", context.toString());
                    }
                    try {
                        importService.importData(finalUrl,finalType,userService.getCurrentUser(),context);
                    } catch(Exception e) {
                        log.error("exception while asynchronously importing data",e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.