Package org.apache.airavata.workflow.tracking.types

Examples of org.apache.airavata.workflow.tracking.types.LogInfoDocument


        BaseNotificationType log = logMsg.addNewLogException();
        sendNotification(context, logMsg, descriptionAndAnnotation, null);
    }

    public void info(WorkflowTrackingContext context, String... descriptionAndAnnotation) {
        LogInfoDocument logMsg = LogInfoDocument.Factory.newInstance();
        BaseNotificationType log = logMsg.addNewLogInfo();
        // add timestamp and notification source; add description, and
        // annotation if present
        // publish activity
        sendNotification(context, logMsg, descriptionAndAnnotation, null);
    }
View Full Code Here


            }
        }, "testTopic");

        // create & publish log message
        {
            LogInfoDocument logMsg = LogInfoDocument.Factory.newInstance();
            BaseNotificationType log = logMsg.addNewLogInfo();
            // add timestamp
            final Calendar cal = new GregorianCalendar();
            cal.setTime(new Date());
            log.setTimestamp(cal);
            // add notification source
View Full Code Here

TOP

Related Classes of org.apache.airavata.workflow.tracking.types.LogInfoDocument

Copyright © 2018 www.massapicom. 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.